Lines Matching refs:sort
2 Test sort() function : object functionality - sorting objects with diff. accessibility of member va…
6 …* testing sort() by providing integer/string object arrays with flag values are default, SORT_REGU…
9 echo "*** Testing sort() : object functionality ***\n";
63 echo "\n-- Testing sort() by supplying various object arrays, 'flag' value is default --\n";
65 // testing sort() function by supplying integer object array, flag value is default
67 var_dump(sort($temp_array) );
70 // testing sort() function by supplying string object array, flag value is default
72 var_dump(sort($temp_array) );
75 echo "\n-- Testing sort() by supplying various object arrays, 'flag' value is SORT_REGULAR --\n";
76 // testing sort() function by supplying integer object array, flag value = SORT_REGULAR
78 var_dump(sort($temp_array, SORT_REGULAR) );
81 // testing sort() function by supplying string object array, flag value = SORT_REGULAR
83 var_dump(sort($temp_array, SORT_REGULAR) );
89 *** Testing sort() : object functionality ***
91 -- Testing sort() by supplying various object arrays, 'flag' value is default --
171 -- Testing sort() by supplying various object arrays, 'flag' value is SORT_REGULAR --