Lines Matching refs:asort
2 Test asort() function : object functionality - sorting objects with diff. accessibility of member v…
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";
66 echo "\n-- Testing asort() by supplying various object arrays, 'flag' value is default --\n";
68 // testing asort() function by supplying integer object array, flag value is default
70 var_dump(asort($temp_array) );
73 // testing asort() function by supplying string object array, flag value is default
75 var_dump(asort($temp_array) );
78 echo "\n-- Testing asort() by supplying various object arrays, 'flag' value is SORT_REGULAR --\n";
79 // testing asort() function by supplying integer object array, flag value = SORT_REGULAR
81 var_dump(asort($temp_array, SORT_REGULAR) );
84 // testing asort() function by supplying string object array, flag value = SORT_REGULAR
86 var_dump(asort($temp_array, SORT_REGULAR) );
92 *** Testing asort() : object functionality ***
94 -- Testing asort() by supplying various object arrays, 'flag' value is default --
174 -- Testing asort() by supplying various object arrays, 'flag' value is SORT_REGULAR --