Lines Matching refs:mb_strrpos
2 Test mb_strrpos() function : usage variations - Pass different data types as $offset arg
6 function_exists('mb_strrpos') or die("skip mb_strrpos() is not available in this build");
10 /* Prototype : int mb_strrpos(string $haystack, string $needle [, int $offset [, string $encoding]…
16 * Pass mb_strrpos() different data types as $offset argument to test behaviour
19 echo "*** Testing mb_strrpos() : usage variations ***\n";
79 // loop through each element of $inputs to check the behavior of mb_strrpos()
83 var_dump( mb_strrpos($haystack, $needle, $input, $encoding));
90 *** Testing mb_strrpos() : usage variations ***
100 Warning: mb_strrpos(): Offset is greater than the length of haystack string in %s on line %d
105 Warning: mb_strrpos(): Offset is greater than the length of haystack string in %s on line %d
116 Warning: mb_strrpos(): Offset is greater than the length of haystack string in %s on line %d