Lines Matching refs:sort
2 Test sort() function : usage variations - sort octal values
6 * testing sort() by providing different octal array for $array argument
13 echo "*** Testing sort() : usage variations ***\n";
18 echo "\n-- Testing sort() by supplying octal value array, 'flag' value is default --\n";
20 var_dump(sort($temp_array) ); // expecting : bool(true)
23 echo "\n-- Testing sort() by supplying octal value array, 'flag' value is SORT_REGULAR --\n";
25 var_dump(sort($temp_array, SORT_REGULAR) ); // expecting : bool(true)
28 echo "\n-- Testing sort() by supplying octal value array, 'flag' value is SORT_NUMERIC --\n";
30 var_dump(sort($temp_array, SORT_NUMERIC) ); // expecting : bool(true)
36 *** Testing sort() : usage variations ***
38 -- Testing sort() by supplying octal value array, 'flag' value is default --
61 -- Testing sort() by supplying octal value array, 'flag' value is SORT_REGULAR --
84 -- Testing sort() by supplying octal value array, 'flag' value is SORT_NUMERIC --