Lines Matching refs:ksort
2 Test ksort() function : usage variations - sort bool values
5 /* Prototype : bool ksort ( array &$array [, int $sort_flags] )
11 …* testing ksort() by providing array of boolean values for $array argument with following flag val…
16 echo "*** Testing ksort() : usage variations ***\n";
21 echo "\n-- Testing ksort() by supplying boolean value array, 'flag' value is defualt --\n";
23 var_dump(ksort($temp_array) );
26 echo "\n-- Testing ksort() by supplying boolean value array, 'flag' value is SORT_REGULAR --\n";
28 var_dump(ksort($temp_array, SORT_REGULAR) );
31 echo "\n-- Testing ksort() by supplying boolean value array, 'flag' value is SORT_NUMERIC --\n";
33 var_dump(ksort($temp_array, SORT_NUMERIC) );
36 echo "\n-- Testing ksort() by supplying boolean value array, 'flag' value is SORT_STRING --\n";
38 var_dump(ksort($temp_array, SORT_STRING) );
44 *** Testing ksort() : usage variations ***
46 -- Testing ksort() by supplying boolean value array, 'flag' value is defualt --
55 -- Testing ksort() by supplying boolean value array, 'flag' value is SORT_REGULAR --
64 -- Testing ksort() by supplying boolean value array, 'flag' value is SORT_NUMERIC --
73 -- Testing ksort() by supplying boolean value array, 'flag' value is SORT_STRING --