Lines Matching refs:sort
2 Test sort() function : object functionality - sorting objects, 'sort_flags' as default/SORT_REGULAR
6 …* testing sort() by providing integer/string object arrays with flag values are default, SORT_REGU…
9 echo "*** Testing sort() : object functionality ***\n";
54 echo "\n-- Testing sort() by supplying various object arrays, 'flag' value is default --\n";
56 // testing sort() function by supplying integer object array, flag value is default
58 var_dump(sort($temp_array) );
61 // testing sort() function by supplying string object array, flag value is default
63 var_dump(sort($temp_array) );
66 echo "\n-- Testing sort() by supplying various object arrays, 'flag' value is SORT_REGULAR --\n";
67 // testing sort() function by supplying integer object array, flag value = SORT_REGULAR
69 var_dump(sort($temp_array, SORT_REGULAR) );
72 // testing sort() function by supplying string object array, flag value = SORT_REGULAR
74 var_dump(sort($temp_array, SORT_REGULAR) );
80 *** Testing sort() : object functionality ***
82 -- Testing sort() by supplying various object arrays, 'flag' value is default --
160 -- Testing sort() by supplying various object arrays, 'flag' value is SORT_REGULAR --