Lines Matching refs:sort
2 Test sort() function : usage variations - unexpected values for 'sort_flags' argument
5 /* Prototype : bool sort(array &array_arg [, int $sort_flags])
11 * Testing sort() by providing different unexpected values for flag argument
14 echo "*** Testing sort() : usage variations ***\n";
71 // loop though each element of the array and check the working of sort()
73 echo "\n-- Testing sort() by supplying different unexpected values for 'flag' argument --\n";
79 // sort the array, retain a temp. copy of input array for next iteration
82 var_dump( sort($temp_array, $value) );
92 *** Testing sort() : usage variations ***
94 -- Testing sort() by supplying different unexpected values for 'flag' argument --
217 Warning: sort() expects parameter 2 to be long, string given in %s on line %d
229 Warning: sort() expects parameter 2 to be long, string given in %s on line %d
241 Warning: sort() expects parameter 2 to be long, string given in %s on line %d
253 Warning: sort() expects parameter 2 to be long, string given in %s on line %d
265 Warning: sort() expects parameter 2 to be long, object given in %s on line %d
277 Warning: sort() expects parameter 2 to be long, string given in %s on line %d
289 Warning: sort() expects parameter 2 to be long, string given in %s on line %d
301 Warning: sort() expects parameter 2 to be long, resource given in %s on line %d