original_string: public static function slice($string, $start, $length = null)
      {
          if (function_exists('mb_substr')) {
              return mb_substr($string, $start, $length, '8bit');
          }
          return substr($string, $start, $length);
      }
code: public static function slice($string, $start, $length = null)
      {
          if (function_exists('mb_substr')) {
              return mb_substr($string, $start, $length, '8bit');
          }
          return substr($string, $start, $length);
      }
code_tokens: public static function slice ( $ string , $ start , $ length = null ) { if ( function_exists ( 'mb_substr' ) ) { return mb_substr ( $ string , $ start , $ length , '8bit' ) ; } return substr ( $ string , $ start , $ length ) ; }
docstring: Returns the portion of byte string specified by the start and length
  parameters.
  
  @param string $string
  String.
  @param int $start
  Offset to start at.
  @param int $length
  Optional length of slice.
  @return string Slice.
docstring_tokens: Returns the portion of byte string specified by the start and length parameters .