Lines Matching refs:split
2 Test split() function : error conditions - wrong number of args
5 /* Prototype : proto array split(string pattern, string string [, int limit])
11 echo "*** Testing split() : error conditions - wrong number of args ***\n";
14 //Test split with one more than the expected number of arguments
15 echo "\n-- Testing split() function with more than expected no. of arguments --\n";
20 var_dump( split($pattern, $string, $limit, $extra_arg) );
22 // Testing split with one less than the expected number of arguments
23 echo "\n-- Testing split() function with less than expected no. of arguments --\n";
25 var_dump( split($pattern) );
30 *** Testing split() : error conditions - wrong number of args ***
32 -- Testing split() function with more than expected no. of arguments --
34 Deprecated: Function split() is deprecated in %s on line %d
36 Warning: split() expects at most 3 parameters, 4 given in %s on line %d
39 -- Testing split() function with less than expected no. of arguments --
41 Deprecated: Function split() is deprecated in %s on line %d
43 Warning: split() expects at least 2 parameters, 1 given in %s on line %d