Lines Matching refs:sort
2 Test sort() function : usage variations - sort octal values
5 /* Prototype : bool sort ( array &$array [, int $sort_flags] )
12 * testing sort() by providing different octal array for $array argument
19 echo "*** Testing sort() : usage variations ***\n";
24 echo "\n-- Testing sort() by supplying octal value array, 'flag' value is defualt --\n";
26 var_dump(sort($temp_array) ); // expecting : bool(true)
29 echo "\n-- Testing sort() by supplying octal value array, 'flag' value is SORT_REGULAR --\n";
31 var_dump(sort($temp_array, SORT_REGULAR) ); // expecting : bool(true)
34 echo "\n-- Testing sort() by supplying octal value array, 'flag' value is SORT_NUMERIC --\n";
36 var_dump(sort($temp_array, SORT_NUMERIC) ); // expecting : bool(true)
42 *** Testing sort() : usage variations ***
44 -- Testing sort() by supplying octal value array, 'flag' value is defualt --
67 -- Testing sort() by supplying octal value array, 'flag' value is SORT_REGULAR --
90 -- Testing sort() by supplying octal value array, 'flag' value is SORT_NUMERIC --