|
@@ 564-571 (lines=8) @@
|
| 561 |
|
* |
| 562 |
|
* @return bool|int |
| 563 |
|
*/ |
| 564 |
|
public static function mb_stripos($haystack, $needle, $offset = 0, $encoding = INF) |
| 565 |
|
{ |
| 566 |
|
INF === $encoding && $encoding = self::$internal_encoding; |
| 567 |
|
$haystack = self::mb_convert_case($haystack, self::MB_CASE_FOLD, $encoding); |
| 568 |
|
$needle = self::mb_convert_case($needle, self::MB_CASE_FOLD, $encoding); |
| 569 |
|
|
| 570 |
|
return self::mb_strpos($haystack, $needle, $offset, $encoding); |
| 571 |
|
} |
| 572 |
|
|
| 573 |
|
/** |
| 574 |
|
* @param string $haystack |
|
@@ 796-804 (lines=9) @@
|
| 793 |
|
* |
| 794 |
|
* @return bool|int |
| 795 |
|
*/ |
| 796 |
|
public static function mb_strripos($haystack, $needle, $offset = 0, $encoding = INF) |
| 797 |
|
{ |
| 798 |
|
INF === $encoding && $encoding = self::$internal_encoding; |
| 799 |
|
|
| 800 |
|
$haystack = self::mb_convert_case($haystack, self::MB_CASE_FOLD, $encoding); |
| 801 |
|
$needle = self::mb_convert_case($needle, self::MB_CASE_FOLD, $encoding); |
| 802 |
|
|
| 803 |
|
return self::mb_strrpos($haystack, $needle, $offset, $encoding); |
| 804 |
|
} |
| 805 |
|
|
| 806 |
|
/** |
| 807 |
|
* @param string $haystack |