Lines Matching refs:arsort

2 Test arsort() function : basic functionality
6 * Testing arsort() by providing integer/string arrays to check the basic functionality
14 echo "*** Testing arsort() : basic functionality ***\n";
25 echo "\n-- Testing arsort() by supplying string array, 'flag' value is default --\n";
27 var_dump( arsort($temp_array) ); // expecting : bool(true)
30 echo "\n-- Testing arsort() by supplying numeric array, 'flag' value is default --\n";
32 var_dump( arsort($temp_array) ); // expecting : bool(true)
35 echo "\n-- Testing arsort() by supplying string array, 'flag' = SORT_REGULAR --\n";
37 var_dump( arsort($temp_array, SORT_REGULAR) ); // expecting : bool(true)
40 echo "\n-- Testing arsort() by supplying numeric array, 'flag' = SORT_REGULAR --\n";
42 var_dump( arsort($temp_array, SORT_REGULAR) ); // expecting : bool(true)
45 echo "\n-- Testing arsort() by supplying string array, 'flag' = SORT_STRING --\n";
47 var_dump( arsort($temp_array, SORT_STRING) ); // expecting : bool(true)
50 echo "\n-- Testing arsort() by supplying string array (case insensitive), 'flag' = SORT_STRING|SORT…
52 var_dump( arsort($temp_array, SORT_STRING|SORT_FLAG_CASE) ); // expecting : bool(true)
55 echo "\n-- Testing arsort() by supplying string array (natural), 'flag' = SORT_NATURAL --\n";
57 var_dump( arsort($temp_array, SORT_NATURAL) ); // expecting : bool(true)
60 echo "\n-- Testing arsort() by supplying string array (natural, case insensitive), 'flag' = SORT_NA…
62 var_dump( arsort($temp_array, SORT_NATURAL|SORT_FLAG_CASE) ); // expecting : bool(true)
65 echo "\n-- Testing arsort() by supplying numeric array, 'flag' = SORT_NUMERIC --\n";
67 var_dump( arsort($temp_array, SORT_NUMERIC) ); // expecting : bool(true)
73 *** Testing arsort() : basic functionality ***
75 -- Testing arsort() by supplying string array, 'flag' value is default --
96 -- Testing arsort() by supplying numeric array, 'flag' value is default --
109 -- Testing arsort() by supplying string array, 'flag' = SORT_REGULAR --
130 -- Testing arsort() by supplying numeric array, 'flag' = SORT_REGULAR --
143 -- Testing arsort() by supplying string array, 'flag' = SORT_STRING --
164 -- Testing arsort() by supplying string array (case insensitive), 'flag' = SORT_STRING|SORT_FLAG_CA…
185 -- Testing arsort() by supplying string array (natural), 'flag' = SORT_NATURAL --
206 -- Testing arsort() by supplying string array (natural, case insensitive), 'flag' = SORT_NATURAL|SO…
227 -- Testing arsort() by supplying numeric array, 'flag' = SORT_NUMERIC --