Lines Matching refs:ksort
2 Test ksort() function : usage variations - sort hexadecimal values
5 /* Prototype : bool ksort ( array &$array [, int $sort_flags] )
11 …* testing ksort() by providing array of hexa-decimal values for $array argument with following fla…
17 echo "*** Testing ksort() : usage variations ***\n";
26 echo "\n-- Testing ksort() by supplying hexadecimal value array, 'flag' value is defualt --\n";
28 var_dump(ksort( $temp_array) ); // expecting : bool(true)
31 echo "\n-- Testing ksort() by supplying hexadecimal value array, 'flag' value is SORT_REGULAR --\n…
33 var_dump(ksort( $temp_array, SORT_REGULAR) ); // expecting : bool(true)
36 echo "\n-- Testing ksort() by supplying hexadecimal value array, 'flag' value is SORT_NUMERIC --\n…
38 var_dump(ksort( $temp_array, SORT_NUMERIC) ); // expecting : bool(true)
44 *** Testing ksort() : usage variations ***
46 -- Testing ksort() by supplying hexadecimal value array, 'flag' value is defualt --
69 -- Testing ksort() by supplying hexadecimal value array, 'flag' value is SORT_REGULAR --
92 -- Testing ksort() by supplying hexadecimal value array, 'flag' value is SORT_NUMERIC --