Lines Matching refs:asort
2 Test asort() function : object functionality - sort objects
5 /* Prototype : bool asort ( array &$array [, int $asort_flags] )
12 * testing asort() by providing integer/string object arrays with following flag values
17 echo "*** Testing asort() : object functionality ***\n";
62 echo "\n-- Testing asort() by supplying various object arrays, 'flag' value is defualt --\n";
64 // testing asort() function by supplying integer object array, flag value is defualt
66 var_dump(asort($temp_array) );
69 // testing asort() function by supplying string object array, flag value is defualt
71 var_dump(asort($temp_array) );
74 echo "\n-- Testing asort() by supplying various object arrays, 'flag' value is SORT_REGULAR --\n";
75 // testing asort() function by supplying integer object array, flag value = SORT_REGULAR
77 var_dump(asort($temp_array, SORT_REGULAR) );
80 // testing asort() function by supplying string object array, flag value = SORT_REGULAR
82 var_dump(asort($temp_array, SORT_REGULAR) );
88 *** Testing asort() : object functionality ***
90 -- Testing asort() by supplying various object arrays, 'flag' value is defualt --
168 -- Testing asort() by supplying various object arrays, 'flag' value is SORT_REGULAR --