Lines Matching refs:asort
2 Test asort() function : usage variations - sort octal values
5 /* Prototype : bool asort ( array &$array [, int $sort_flags] )
12 * testing asort() by providing different octal array for $array argument with following flag values
18 echo "*** Testing asort() : usage variations ***\n";
26 echo "\n-- Testing asort() by supplying octal value array, 'flag' value is defualt --\n";
28 var_dump( asort($temp_array) ); // expecting : bool(true)
31 echo "\n-- Testing asort() by supplying octal value array, 'flag' value is SORT_REGULAR --\n";
33 var_dump( asort($temp_array, SORT_REGULAR) ); // expecting : bool(true)
36 echo "\n-- Testing asort() by supplying octal value array, 'flag' value is SORT_NUMERIC --\n";
38 var_dump( asort($temp_array, SORT_NUMERIC) ); // expecting : bool(true)
44 *** Testing asort() : usage variations ***
46 -- Testing asort() by supplying octal value array, 'flag' value is defualt --
69 -- Testing asort() by supplying octal value array, 'flag' value is SORT_REGULAR --
92 -- Testing asort() by supplying octal value array, 'flag' value is SORT_NUMERIC --