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