Lines Matching refs:sort
2 Test sort() function : object functionality - sorting objects, 'sort_flags' as default/SORT_REGULAR
5 /* Prototype : bool sort ( array &$array [, int $sort_flags] )
11 …* testing sort() by providing integer/string object arrays with flag values are defualt, SORT_REGU…
14 echo "*** Testing sort() : object functionality ***\n";
59 echo "\n-- Testing sort() by supplying various object arrays, 'flag' value is defualt --\n";
61 // testing sort() function by supplying integer object array, flag value is defualt
63 var_dump(sort($temp_array) );
66 // testing sort() function by supplying string object array, flag value is defualt
68 var_dump(sort($temp_array) );
71 echo "\n-- Testing sort() by supplying various object arrays, 'flag' value is SORT_REGULAR --\n";
72 // testing sort() function by supplying integer object array, flag value = SORT_REGULAR
74 var_dump(sort($temp_array, SORT_REGULAR) );
77 // testing sort() function by supplying string object array, flag value = SORT_REGULAR
79 var_dump(sort($temp_array, SORT_REGULAR) );
85 *** Testing sort() : object functionality ***
87 -- Testing sort() by supplying various object arrays, 'flag' value is defualt --
165 -- Testing sort() by supplying various object arrays, 'flag' value is SORT_REGULAR --