Lines Matching refs:ksort
2 Test ksort() function : object functionality - sort objects
6 * testing ksort() by providing array ofinteger/string objects with following flag values:
11 echo "*** Testing ksort() : object functionality ***\n";
54 echo "\n-- Testing ksort() by supplying various object arrays, 'flag' value is default --\n";
56 // testing ksort() function by supplying integer object array, flag value is default
58 var_dump(ksort($temp_array) );
61 // testing ksort() function by supplying string object array, flag value is default
63 var_dump(ksort($temp_array) );
66 echo "\n-- Testing ksort() by supplying various object arrays, 'flag' value is SORT_REGULAR --\n";
67 // testing ksort() function by supplying integer object array, flag value = SORT_REGULAR
69 var_dump(ksort($temp_array, SORT_REGULAR) );
72 // testing ksort() function by supplying string object array, flag value = SORT_REGULAR
74 var_dump(ksort($temp_array, SORT_REGULAR) );
80 *** Testing ksort() : object functionality ***
82 -- Testing ksort() by supplying various object arrays, 'flag' value is default --
160 -- Testing ksort() by supplying various object arrays, 'flag' value is SORT_REGULAR --