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