|
@@ 423-429 (lines=7) @@
|
| 420 |
|
return iconv_substr($s, $start, $length, $encoding).''; |
| 421 |
|
} |
| 422 |
|
|
| 423 |
|
public static function mb_stripos($haystack, $needle, $offset = 0, $encoding = null) |
| 424 |
|
{ |
| 425 |
|
$haystack = self::mb_convert_case($haystack, self::MB_CASE_FOLD, $encoding); |
| 426 |
|
$needle = self::mb_convert_case($needle, self::MB_CASE_FOLD, $encoding); |
| 427 |
|
|
| 428 |
|
return self::mb_strpos($haystack, $needle, $offset, $encoding); |
| 429 |
|
} |
| 430 |
|
|
| 431 |
|
public static function mb_stristr($haystack, $needle, $part = false, $encoding = null) |
| 432 |
|
{ |
|
@@ 455-461 (lines=7) @@
|
| 452 |
|
return self::getSubpart($pos, $part, $haystack, $encoding); |
| 453 |
|
} |
| 454 |
|
|
| 455 |
|
public static function mb_strripos($haystack, $needle, $offset = 0, $encoding = null) |
| 456 |
|
{ |
| 457 |
|
$haystack = self::mb_convert_case($haystack, self::MB_CASE_FOLD, $encoding); |
| 458 |
|
$needle = self::mb_convert_case($needle, self::MB_CASE_FOLD, $encoding); |
| 459 |
|
|
| 460 |
|
return self::mb_strrpos($haystack, $needle, $offset, $encoding); |
| 461 |
|
} |
| 462 |
|
|
| 463 |
|
public static function mb_strstr($haystack, $needle, $part = false, $encoding = null) |
| 464 |
|
{ |