Lines Matching refs:sort
2 Test sort() function : usage variations - sort reference values
5 /* Prototype : bool sort ( array &$array [, int $sort_flags] )
12 * Testing sort() by providing reference variable array with following flag values
18 echo "*** Testing sort() :usage variations ***\n";
27 echo "\n-- Testing sort() by supplying reference variable array, 'flag' value is defualt --\n";
29 var_dump( sort($temp_array) ); // expecting : bool(true)
32 echo "\n-- Testing sort() by supplying reference variable array, 'flag' = SORT_REGULAR --\n";
34 var_dump( sort($temp_array, SORT_REGULAR) ); // expecting : bool(true)
37 echo "\n-- Testing sort() by supplying reference variable array, 'flag' = SORT_NUMERIC --\n";
39 var_dump( sort($temp_array, SORT_NUMERIC) ); // expecting : bool(true)
45 *** Testing sort() :usage variations ***
47 -- Testing sort() by supplying reference variable array, 'flag' value is defualt --
58 -- Testing sort() by supplying reference variable array, 'flag' = SORT_REGULAR --
69 -- Testing sort() by supplying reference variable array, 'flag' = SORT_NUMERIC --