|
ArrayObject::ksortSort the entries by key Description
public void ArrayObject::ksort
( void
)
Sorts the entries by key, maintaining key to entry correlations. This is useful mainly for associative arrays. ParametersThis function has no parameters. Return ValuesNo value is returned. Examples
Example #1 ArrayObject::ksort example
<?php The above example will output: a = orange b = banana c = apple d = lemon See Also
|