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