Lines Matching refs:mb_strpos
2 Test mb_strpos() function : usage variations - pass different data types as $needle arg
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 * Pass mb_strpos different data types as $needle arg to test behaviour
19 echo "*** Testing mb_strpos() : usage variations ***\n";
94 // loop through each element of $inputs to check the behavior of mb_strpos()
98 var_dump( mb_strpos($haystack, $input, $offset, $encoding));
107 *** Testing mb_strpos() : usage variations ***
138 Warning: mb_strpos(): Empty delimiter in %s on line %d
143 Warning: mb_strpos(): Empty delimiter in %s on line %d
151 Warning: mb_strpos(): Empty delimiter in %s on line %d
159 Warning: mb_strpos(): Empty delimiter in %s on line %d
164 Warning: mb_strpos(): Empty delimiter in %s on line %d
169 Warning: mb_strpos(): Empty delimiter in %s on line %d
186 Warning: mb_strpos(): Empty delimiter in %s on line %d
191 Warning: mb_strpos(): Empty delimiter in %s on line %d
196 Warning: mb_strpos() expects parameter 2 to be string, resource given in %s on line %d