Lines Matching refs:ksort
2 Test ksort() function : usage variations - sort octal values
5 /* Prototype : bool ksort ( array &$array [, int $sort_flags] )
11 …* testing ksort() by providing array of octal values for $array argument with following flag value…
17 echo "*** Testing ksort() : usage variations ***\n";
25 echo "\n-- Testing ksort() by supplying octal value array, 'flag' value is defualt --\n";
27 var_dump( ksort($temp_array) ); // expecting : bool(true)
30 echo "\n-- Testing ksort() by supplying octal value array, 'flag' value is SORT_REGULAR --\n";
32 var_dump( ksort($temp_array, SORT_REGULAR) ); // expecting : bool(true)
35 echo "\n-- Testing ksort() by supplying octal value array, 'flag' value is SORT_NUMERIC --\n";
37 var_dump( ksort($temp_array, SORT_NUMERIC) ); // expecting : bool(true)
43 *** Testing ksort() : usage variations ***
45 -- Testing ksort() by supplying octal value array, 'flag' value is defualt --
68 -- Testing ksort() by supplying octal value array, 'flag' value is SORT_REGULAR --
91 -- Testing ksort() by supplying octal value array, 'flag' value is SORT_NUMERIC --