Lines Matching refs:ksort
2 Test ksort() function : basic functionality
6 …* Testing ksort() by providing array of integer/string values to check the basic functionality wi…
13 echo "*** Testing ksort() : basic functionality ***\n";
24 echo "\n-- Testing ksort() by supplying string array, 'flag' value is default --\n";
26 var_dump( ksort($temp_array) ); // expecting : bool(true)
29 echo "\n-- Testing ksort() by supplying numeric array, 'flag' value is default --\n";
31 var_dump( ksort($temp_array) ); // expecting : bool(true)
34 echo "\n-- Testing ksort() by supplying string array, 'flag' = SORT_REGULAR --\n";
36 var_dump( ksort($temp_array, SORT_REGULAR) ); // expecting : bool(true)
39 echo "\n-- Testing ksort() by supplying numeric array, 'flag' = SORT_REGULAR --\n";
41 var_dump( ksort($temp_array, SORT_REGULAR) ); // expecting : bool(true)
44 echo "\n-- Testing ksort() by supplying string array, 'flag' = SORT_STRING --\n";
46 var_dump( ksort($temp_array, SORT_STRING) ); // expecting : bool(true)
49 echo "\n-- Testing ksort() by supplying string array (case insensitive), 'flag' = SORT_STRING|SORT_…
51 var_dump( ksort($temp_array, SORT_STRING|SORT_FLAG_CASE) ); // expecting : bool(true)
54 echo "\n-- Testing ksort() by supplying string array (natural), 'flag' = SORT_NATURAL --\n";
56 var_dump( ksort($temp_array, SORT_NATURAL) ); // expecting : bool(true)
59 echo "\n-- Testing ksort() by supplying string array (natural, case insensitive), 'flag' = SORT_NAT…
61 var_dump( ksort($temp_array, SORT_NATURAL|SORT_FLAG_CASE) ); // expecting : bool(true)
64 echo "\n-- Testing ksort() by supplying numeric array, 'flag' = SORT_NUMERIC --\n";
66 var_dump( ksort($temp_array, SORT_NUMERIC) ); // expecting : bool(true)
72 *** Testing ksort() : basic functionality ***
74 -- Testing ksort() by supplying string array, 'flag' value is default --
95 -- Testing ksort() by supplying numeric array, 'flag' value is default --
108 -- Testing ksort() by supplying string array, 'flag' = SORT_REGULAR --
129 -- Testing ksort() by supplying numeric array, 'flag' = SORT_REGULAR --
142 -- Testing ksort() by supplying string array, 'flag' = SORT_STRING --
163 -- Testing ksort() by supplying string array (case insensitive), 'flag' = SORT_STRING|SORT_FLAG_CAS…
184 -- Testing ksort() by supplying string array (natural), 'flag' = SORT_NATURAL --
205 -- Testing ksort() by supplying string array (natural, case insensitive), 'flag' = SORT_NATURAL|SOR…
226 -- Testing ksort() by supplying numeric array, 'flag' = SORT_NUMERIC --