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