Lines Matching refs:mb_stristr
2 Test mb_stristr() function : usage variation - multiple needles
6 function_exists('mb_stristr') or die("skip mb_stristr() is not available in this build");
10 /* Prototype : string mb_stristr(string haystack, string needle[, bool part[, string encoding]])
16 echo "*** Testing mb_stristr() : basic functionality ***\n";
33 var_dump(bin2hex(mb_stristr($string_ascii, $needle_ascii_upper, false)));
34 var_dump(bin2hex(mb_stristr($string_ascii, $needle_ascii_upper, true)));
35 var_dump(bin2hex(mb_stristr($string_ascii, $needle_ascii_lower, false)));
36 var_dump(bin2hex(mb_stristr($string_ascii, $needle_ascii_lower, true)));
37 var_dump(bin2hex(mb_stristr($string_ascii, $needle_ascii_mixed, false)));
38 var_dump(bin2hex(mb_stristr($string_ascii, $needle_ascii_mixed, true)));
42 var_dump(bin2hex(mb_stristr($string_mb, $needle_mb_upper, false)));
43 var_dump(bin2hex(mb_stristr($string_mb, $needle_mb_upper, true)));
44 var_dump(bin2hex(mb_stristr($string_mb, $needle_mb_lower, false)));
45 var_dump(bin2hex(mb_stristr($string_mb, $needle_mb_lower, true)));
46 var_dump(bin2hex(mb_stristr($string_mb, $needle_mb_mixed, false)));
47 var_dump(bin2hex(mb_stristr($string_mb, $needle_mb_mixed, true)));
52 *** Testing mb_stristr() : basic functionality ***