Lines Matching refs:ksort
2 Test ksort() function : usage variations - sort strings
10 /* Prototype : bool ksort ( array &$array [, int $sort_flags] )
16 * testing ksort() by providing array of string values for $array argument with
23 echo "*** Testing ksort() : usage variations ***\n";
42 echo "\n-- Testing ksort() by supplying various string arrays --\n";
44 // loop through to test ksort() with different arrays
50 var_dump(ksort($temp_array) ); // expecting : bool(true)
53 // loop through $flags array and call ksort() with all possible sort flag values
57 var_dump(ksort($temp_array, $flag) ); // expecting : bool(true)
66 *** Testing ksort() : usage variations ***
68 -- Testing ksort() by supplying various string arrays --