|
@@ 613-619 (lines=7) @@
|
| 610 |
|
return (string) iconv_substr($s, $start, $length, $encoding); |
| 611 |
|
} |
| 612 |
|
|
| 613 |
|
public static function mb_stripos($haystack, $needle, $offset = 0, $encoding = null) |
| 614 |
|
{ |
| 615 |
|
$haystack = self::mb_convert_case($haystack, self::MB_CASE_FOLD, $encoding); |
| 616 |
|
$needle = self::mb_convert_case($needle, self::MB_CASE_FOLD, $encoding); |
| 617 |
|
|
| 618 |
|
return self::mb_strpos($haystack, $needle, $offset, $encoding); |
| 619 |
|
} |
| 620 |
|
|
| 621 |
|
public static function mb_stristr($haystack, $needle, $part = false, $encoding = null) |
| 622 |
|
{ |
|
@@ 648-654 (lines=7) @@
|
| 645 |
|
return self::getSubpart($pos, $part, $haystack, $encoding); |
| 646 |
|
} |
| 647 |
|
|
| 648 |
|
public static function mb_strripos($haystack, $needle, $offset = 0, $encoding = null) |
| 649 |
|
{ |
| 650 |
|
$haystack = self::mb_convert_case($haystack, self::MB_CASE_FOLD, $encoding); |
| 651 |
|
$needle = self::mb_convert_case($needle, self::MB_CASE_FOLD, $encoding); |
| 652 |
|
|
| 653 |
|
return self::mb_strrpos($haystack, $needle, $offset, $encoding); |
| 654 |
|
} |
| 655 |
|
|
| 656 |
|
public static function mb_strstr($haystack, $needle, $part = false, $encoding = null) |
| 657 |
|
{ |