Lines Matching refs:ksort
2 Test ksort() function : usage variations - sort heredoc strings
5 /* Prototype : bool ksort ( array &$array [, int $sort_flags] )
11 * testing ksort() by providing array of heredoc strings for $array argument with
18 echo "*** Testing ksort() : usage variations ***\n";
40 echo "\n-- Testing ksort() by supplying heredoc string array, 'flag' value is defualt --\n";
42 var_dump(ksort($temp_array) ); // expecting : bool(true)
45 echo "\n-- Testing ksort() by supplying heredoc string array, 'flag' = SORT_REGULAR --\n";
47 var_dump(ksort($temp_array, SORT_REGULAR) ); // expecting : bool(true)
50 echo "\n-- Testing ksort() by supplying heredoc string array, 'flag' = SORT_STRING --\n";
52 var_dump(ksort($temp_array, SORT_STRING) ); // expecting : bool(true)
58 *** Testing ksort() : usage variations ***
60 -- Testing ksort() by supplying heredoc string array, 'flag' value is defualt --
73 -- Testing ksort() by supplying heredoc string array, 'flag' = SORT_REGULAR --
86 -- Testing ksort() by supplying heredoc string array, 'flag' = SORT_STRING --