Lines Matching refs:krsort
2 Test krsort() function : usage variations - sort bool values
5 /* Prototype : bool krsort ( array &$array [, int $sort_flags] )
11 …* testing krsort() by providing array of boolean values for $array argument with following flag va…
16 echo "*** Testing krsort() : usage variations ***\n";
21 echo "\n-- Testing krsort() by supplying boolean value array, 'flag' value is defualt --\n";
23 var_dump(krsort($temp_array) );
26 echo "\n-- Testing krsort() by supplying boolean value array, 'flag' value is SORT_REGULAR --\n";
28 var_dump(krsort($temp_array, SORT_REGULAR) );
31 echo "\n-- Testing krsort() by supplying boolean value array, 'flag' value is SORT_NUMERIC --\n";
33 var_dump(krsort($temp_array, SORT_NUMERIC) );
36 echo "\n-- Testing krsort() by supplying boolean value array, 'flag' value is SORT_STRING --\n";
38 var_dump(krsort($temp_array, SORT_STRING) );
44 *** Testing krsort() : usage variations ***
46 -- Testing krsort() by supplying boolean value array, 'flag' value is defualt --
55 -- Testing krsort() by supplying boolean value array, 'flag' value is SORT_REGULAR --
64 -- Testing krsort() by supplying boolean value array, 'flag' value is SORT_NUMERIC --
73 -- Testing krsort() by supplying boolean value array, 'flag' value is SORT_STRING --