Lines Matching refs:sort
2 Test sort() function : object functionality - sorting objects with diff. accessibility of member va…
5 /* Prototype : bool sort ( array &$array [, int $sort_flags] )
12 …* testing sort() by providing integer/string object arrays with flag values are defualt, SORT_REGU…
15 echo "*** Testing sort() : object functionality ***\n";
69 echo "\n-- Testing sort() by supplying various object arrays, 'flag' value is defualt --\n";
71 // testing sort() function by supplying integer object array, flag value is defualt
73 var_dump(sort($temp_array) );
76 // testing sort() function by supplying string object array, flag value is defualt
78 var_dump(sort($temp_array) );
81 echo "\n-- Testing sort() by supplying various object arrays, 'flag' value is SORT_REGULAR --\n";
82 // testing sort() function by supplying integer object array, flag value = SORT_REGULAR
84 var_dump(sort($temp_array, SORT_REGULAR) );
87 // testing sort() function by supplying string object array, flag value = SORT_REGULAR
89 var_dump(sort($temp_array, SORT_REGULAR) );
95 *** Testing sort() : object functionality ***
97 -- Testing sort() by supplying various object arrays, 'flag' value is defualt --
177 -- Testing sort() by supplying various object arrays, 'flag' value is SORT_REGULAR --