Lines Matching refs:arsort
2 Test arsort() function : object functionality - sorting objects with diff. accessibility of member …
6 * testing arsort() by providing integer/string object arrays with following flag values
11 echo "*** Testing arsort() : object functionality ***\n";
60 echo "\n-- Testing arsort() by supplying various object arrays, 'flag' value is default --\n";
62 // testing arsort() function by supplying integer object array, flag value is default
64 var_dump(arsort($temp_array) );
67 // testing arsort() function by supplying string object array, flag value is default
69 var_dump(arsort($temp_array) );
72 echo "\n-- Testing arsort() by supplying various object arrays, 'flag' value is SORT_REGULAR --\n";
73 // testing arsort() function by supplying integer object array, flag value = SORT_REGULAR
75 var_dump(arsort($temp_array, SORT_REGULAR) );
78 // testing arsort() function by supplying string object array, flag value = SORT_REGULAR
80 var_dump(arsort($temp_array, SORT_REGULAR) );
86 *** Testing arsort() : object functionality ***
88 -- Testing arsort() by supplying various object arrays, 'flag' value is default --
168 -- Testing arsort() by supplying various object arrays, 'flag' value is SORT_REGULAR --