Lines Matching refs:arsort
2 Test arsort() function : object functionality - sort objects
6 * testing arsort() by providing integer/string object arrays with following flag values
11 echo "*** Testing arsort() : object functionality ***\n";
56 echo "\n-- Testing arsort() by supplying various object arrays, 'flag' value is default --\n";
58 // testing arsort() function by supplying integer object array, flag value is default
60 var_dump(arsort($temp_array) );
63 // testing arsort() function by supplying string object array, flag value is default
65 var_dump(arsort($temp_array) );
68 echo "\n-- Testing arsort() by supplying various object arrays, 'flag' value is SORT_REGULAR --\n";
69 // testing arsort() function by supplying integer object array, flag value = SORT_REGULAR
71 var_dump(arsort($temp_array, SORT_REGULAR) );
74 // testing arsort() function by supplying string object array, flag value = SORT_REGULAR
76 var_dump(arsort($temp_array, SORT_REGULAR) );
82 *** Testing arsort() : object functionality ***
84 -- Testing arsort() by supplying various object arrays, 'flag' value is default --
162 -- Testing arsort() by supplying various object arrays, 'flag' value is SORT_REGULAR --