Lines Matching refs:krsort
2 Test krsort() function : object functionality - sort objects
6 * testing krsort() by providing array of integer/string objects with following flag values:
11 echo "*** Testing krsort() : object functionality ***\n";
55 echo "\n-- Testing krsort() by supplying various object arrays, 'flag' value is default --\n";
57 // testing krsort() function by supplying integer object array, flag value is default
59 var_dump(krsort($temp_array) );
62 // testing krsort() function by supplying string object array, flag value is default
64 var_dump(krsort($temp_array) );
67 echo "\n-- Testing krsort() by supplying various object arrays, 'flag' value is SORT_REGULAR --\n";
68 // testing krsort() function by supplying integer object array, flag value = SORT_REGULAR
70 var_dump(krsort($temp_array, SORT_REGULAR) );
73 // testing krsort() function by supplying string object array, flag value = SORT_REGULAR
75 var_dump(krsort($temp_array, SORT_REGULAR) );
81 *** Testing krsort() : object functionality ***
83 -- Testing krsort() by supplying various object arrays, 'flag' value is default --
161 -- Testing krsort() by supplying various object arrays, 'flag' value is SORT_REGULAR --