Lines Matching refs:sort
2 Test sort() function : usage variations - sort boolean values
5 /* Prototype : bool sort ( array &$array [, int $sort_flags] )
12 * testing sort() by providing bool value array for $array argument with following flag values.
17 echo "*** Testing sort() : usage variations ***\n";
22 echo "\n-- Testing sort() by supplying bool value array, 'flag' value is defualt --\n";
24 var_dump(sort($temp_array) );
27 echo "\n-- Testing sort() by supplying bool value array, 'flag' value is SORT_REGULAR --\n";
29 var_dump(sort($temp_array, SORT_REGULAR) );
32 echo "\n-- Testing sort() by supplying bool value array, 'flag' value is SORT_NUMERIC --\n";
34 var_dump(sort($temp_array, SORT_NUMERIC) );
37 echo "\n-- Testing sort() by supplying bool value array, 'flag' value is SORT_STRING --\n";
39 var_dump(sort($temp_array, SORT_STRING) );
45 *** Testing sort() : usage variations ***
47 -- Testing sort() by supplying bool value array, 'flag' value is defualt --
60 -- Testing sort() by supplying bool value array, 'flag' value is SORT_REGULAR --
73 -- Testing sort() by supplying bool value array, 'flag' value is SORT_NUMERIC --
86 -- Testing sort() by supplying bool value array, 'flag' value is SORT_STRING --