Lines Matching refs:mb_split
2 Test mb_split() function : error conditions
6 function_exists('mb_split') or die("skip mb_split() is not available in this build");
10 /* Prototype : proto array mb_split(string pattern, string string [, int limit])
20 echo "*** Testing mb_split() : error conditions ***\n";
23 //Test mb_split with one more than the expected number of arguments
24 echo "\n-- Testing mb_split() function with more than expected no. of arguments --\n";
29 var_dump( mb_split($pattern, $string, $limit, $extra_arg) );
31 // Testing mb_split with one less than the expected number of arguments
32 echo "\n-- Testing mb_split() function with less than expected no. of arguments --\n";
34 var_dump( mb_split($pattern) );
39 *** Testing mb_split() : error conditions ***
41 -- Testing mb_split() function with more than expected no. of arguments --
43 Warning: mb_split() expects at most 3 parameters, 4 given in %s on line %d
46 -- Testing mb_split() function with less than expected no. of arguments --
48 Warning: mb_split() expects at least 2 parameters, 1 given in %s on line %d