original_string: private static function iniGetBytes($val)
      {
          $val = trim(ini_get($val));
          if ($val != '') {
              $last = strtolower(
                  $val{strlen($val) - 1}
              );
          } else {
              $last = '';
          }
          $val = (int) $val;
          switch ($last) {
              // The 'G' modifier is available since PHP 5.1.0
              case 'g':
                  $val *= 1024;
              case 'm':
                  $val *= 1024;
              case 'k':
                  $val *= 1024;
          }
  
          return $val;
      }
code: private static function iniGetBytes($val)
      {
          $val = trim(ini_get($val));
          if ($val != '') {
              $last = strtolower(
                  $val{strlen($val) - 1}
              );
          } else {
              $last = '';
          }
          $val = (int) $val;
          switch ($last) {
              // The 'G' modifier is available since PHP 5.1.0
              case 'g':
                  $val *= 1024;
              case 'm':
                  $val *= 1024;
              case 'k':
                  $val *= 1024;
          }
  
          return $val;
      }
code_tokens: private static function iniGetBytes ( $ val ) { $ val = trim ( ini_get ( $ val ) ) ; if ( $ val != '' ) { $ last = strtolower ( $ val { strlen ( $ val ) - 1 } ) ; } else { $ last = '' ; } $ val = ( int ) $ val ; switch ( $ last ) { // The 'G' modifier is available since PHP 5.1.0 case 'g' : $ val *= 1024 ; case 'm' : $ val *= 1024 ; case 'k' : $ val *= 1024 ; } return $ val ; }
docstring: Returns the number of bytes from php.ini parameter.
  
  @param $val
  
  @return int|string
docstring_tokens: Returns the number of bytes from php . ini parameter .