|
ArrayObject::ksortSort the entries by key Description
public true ArrayObject::ksort(int
$flags = SORT_REGULAR )Sorts the entries by key, maintaining key to entry correlations. This is useful mainly for associative arrays.
Parameters
Return Values
Always returns Changelog
Examples
Example #1 ArrayObject::ksort example
The above example will output: a = orange b = banana c = apple d = lemon See Also
|