Lines Matching refs:sort
2 Test sort() function : usage variations - sort boolean values
6 * testing sort() by providing bool value array for $array argument with following flag values.
11 echo "*** Testing sort() : usage variations ***\n";
16 echo "\n-- Testing sort() by supplying bool value array, 'flag' value is default --\n";
18 var_dump(sort($temp_array) );
21 echo "\n-- Testing sort() by supplying bool value array, 'flag' value is SORT_REGULAR --\n";
23 var_dump(sort($temp_array, SORT_REGULAR) );
26 echo "\n-- Testing sort() by supplying bool value array, 'flag' value is SORT_NUMERIC --\n";
28 var_dump(sort($temp_array, SORT_NUMERIC) );
31 echo "\n-- Testing sort() by supplying bool value array, 'flag' value is SORT_STRING --\n";
33 var_dump(sort($temp_array, SORT_STRING) );
39 *** Testing sort() : usage variations ***
41 -- Testing sort() by supplying bool value array, 'flag' value is default --
54 -- Testing sort() by supplying bool value array, 'flag' value is SORT_REGULAR --
67 -- Testing sort() by supplying bool value array, 'flag' value is SORT_NUMERIC --
80 -- Testing sort() by supplying bool value array, 'flag' value is SORT_STRING --