Lines Matching refs:sort
2 Test sort() function : error conditions
5 /* Prototype : bool sort(array &array_arg [, int sort_flags])
11 * Testing sort() function with all possible error conditions
14 echo "*** Testing sort() : error conditions ***\n";
17 echo "\n-- Testing sort() function with Zero arguments --\n";
18 var_dump( sort() );
20 //Test sort with more than the expected number of arguments
21 echo "\n-- Testing sort() function with more than expected no. of arguments --\n";
29 var_dump( sort($array_arg,$flag, $extra_arg) );
38 *** Testing sort() : error conditions ***
40 -- Testing sort() function with Zero arguments --
42 Warning: sort() expects at least 1 parameter, 0 given in %s on line %d
45 -- Testing sort() function with more than expected no. of arguments --
49 Warning: sort() expects at most 2 parameters, 3 given in %s on line %d
60 Warning: sort() expects at most 2 parameters, 3 given in %s on line %d
71 Warning: sort() expects at most 2 parameters, 3 given in %s on line %d