Lines Matching refs:asort
2 Test asort() function : usage variations - sort reference variables
5 /* Prototype : bool asort ( array &$array [, int $sort_flags] )
12 * Testing asort() by providing reference variable array with following flag values
18 echo "*** Testing asort() :usage variations ***\n";
27 echo "\n-- Testing asort() by supplying reference variable array, 'flag' value is defualt --\n";
29 var_dump( asort($temp_array) ); // expecting : bool(true)
32 echo "\n-- Testing asort() by supplying reference variable array, 'flag' = SORT_REGULAR --\n";
34 var_dump( asort($temp_array, SORT_REGULAR) ); // expecting : bool(true)
37 echo "\n-- Testing asort() by supplying reference variable array, 'flag' = SORT_NUMERIC --\n";
39 var_dump( asort($temp_array, SORT_NUMERIC) ); // expecting : bool(true)
45 *** Testing asort() :usage variations ***
47 -- Testing asort() by supplying reference variable array, 'flag' value is defualt --
58 -- Testing asort() by supplying reference variable array, 'flag' = SORT_REGULAR --
69 -- Testing asort() by supplying reference variable array, 'flag' = SORT_NUMERIC --