original_string: public static function indexOf($string, $needle, $strict = true, $offset = 0) {
          if ($strict) {
              return mb_strpos($string, $needle, $offset);
          }
  
          return mb_stripos($string, $needle, $offset);
      }
code: public static function indexOf($string, $needle, $strict = true, $offset = 0) {
          if ($strict) {
              return mb_strpos($string, $needle, $offset);
          }
  
          return mb_stripos($string, $needle, $offset);
      }
code_tokens: public static function indexOf ( $ string , $ needle , $ strict = true , $ offset = 0 ) { if ( $ strict ) { return mb_strpos ( $ string , $ needle , $ offset ) ; } return mb_stripos ( $ string , $ needle , $ offset ) ; }
docstring: Grab the index of the first matched character.
  
  @param string $string
  @param string $needle
  @param bool $strict
  @param int $offset
  @return int
docstring_tokens: Grab the index of the first matched character .