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