Lines Matching refs:ksort
2 Test ksort() function : usage variations - sort heredoc strings
6 * testing ksort() by providing array of heredoc strings for $array argument with
13 echo "*** Testing ksort() : usage variations ***\n";
35 echo "\n-- Testing ksort() by supplying heredoc string array, 'flag' value is default --\n";
37 var_dump(ksort($temp_array) ); // expecting : bool(true)
40 echo "\n-- Testing ksort() by supplying heredoc string array, 'flag' = SORT_REGULAR --\n";
42 var_dump(ksort($temp_array, SORT_REGULAR) ); // expecting : bool(true)
45 echo "\n-- Testing ksort() by supplying heredoc string array, 'flag' = SORT_STRING --\n";
47 var_dump(ksort($temp_array, SORT_STRING) ); // expecting : bool(true)
53 *** Testing ksort() : usage variations ***
55 -- Testing ksort() by supplying heredoc string array, 'flag' value is default --
68 -- Testing ksort() by supplying heredoc string array, 'flag' = SORT_REGULAR --
81 -- Testing ksort() by supplying heredoc string array, 'flag' = SORT_STRING --