Lines Matching refs:mb_strpos
2 Test mb_strpos() function : mb_strpos bounds check is byte count rather than a character count
6 function_exists('mb_strpos') or die("skip mb_strpos() is not available in this build");
10 /* Prototype : int mb_strpos(string $haystack, string $needle [, int $offset [, string $encoding]])
16 * mb_strpos bounds check is byte count rather than a character count:
29 var_dump( mb_strpos($string_mb, $needle, $i, 'UTF-8') );
31 var_dump(mb_strpos(b'This is na English ta', b'a', $i));
50 Warning: mb_strpos(): Offset not contained in string in %s on line %d
54 Warning: mb_strpos(): Offset not contained in string in %s on line %d
60 Warning: mb_strpos(): Offset not contained in string in %s on line %d
64 Warning: mb_strpos(): Offset not contained in string in %s on line %d
70 Warning: mb_strpos(): Offset not contained in string in %s on line %d
74 Warning: mb_strpos(): Offset not contained in string in %s on line %d