Lines Matching refs:mb_strripos
2 Test mb_strripos() function : usage variations - Pass different integers as $offset argument
6 function_exists('mb_strripos') or die("skip mb_strripos() is not available in this build");
10 /* Prototype : int mb_strripos(string haystack, string needle [, int offset [, string encoding]])
17 * Test how mb_strripos() behaves when passed different integers as $offset argument
24 echo "*** Testing mb_strripos() : usage variations ***\n";
34 * mb_strripos should not be able to accept negative values as $offset.
40 var_dump(mb_strripos($string_ascii, $needle_ascii, $i));
42 var_dump(mb_strripos($string_mb, $needle_mb, $i, 'UTF-8'));
48 *** Testing mb_strripos() : usage variations ***
77 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
81 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
87 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
91 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
97 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
101 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
107 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
111 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d