Lines Matching refs:sort
2 Test sort() function : usage variations - sort hexadecimal values
5 /* Prototype : bool sort ( array &$array [, int $sort_flags] )
12 …* testing sort() by providing different hexa-decimal array for $array argument with following flag…
18 echo "*** Testing sort() : usage variations ***\n";
23 echo "\n-- Testing sort() by supplying hexadecimal value array, 'flag' value is defualt --\n";
25 var_dump(sort($temp_array) ); // expecting : bool(true)
28 echo "\n-- Testing sort() by supplying hexadecimal value array, 'flag' value is SORT_REGULAR --\n";
30 var_dump(sort($temp_array, SORT_REGULAR) ); // expecting : bool(true)
33 echo "\n-- Testing sort() by supplying hexadecimal value array, 'flag' value is SORT_NUMERIC --\n";
35 var_dump(sort($temp_array, SORT_NUMERIC) ); // expecting : bool(true)
41 *** Testing sort() : usage variations ***
43 -- Testing sort() by supplying hexadecimal value array, 'flag' value is defualt --
70 -- Testing sort() by supplying hexadecimal value array, 'flag' value is SORT_REGULAR --
97 -- Testing sort() by supplying hexadecimal value array, 'flag' value is SORT_NUMERIC --