PHP » GoLang |
login |
register |
about
|
GoLang ArrayObject::ksort
request it (438)
GoLang replacement for PHP's ArrayObject::ksort
[edit | history]
ArrayObject::ksort(PHP 5 >= 5.2.0, PHP 7) ArrayObject::ksort — Sort 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
|
more
Recently updated
more
Most requested
more
Last requests
|