PHP » GoLang |
login |
register |
about
|
uksort(PHP 4, PHP 5, PHP 7) uksort — Sort an array by keys using a user-defined comparison function Descriptionuksort() will sort the keys of an array using a user-supplied comparison function. If the array you wish to sort needs to be sorted by some non-trivial criteria, you should use this function.
Parameters
Return Values
Returns Examples
Example #1 uksort() example
<?php The above example will output: an apple: 3 a banana: 4 the Earth: 2 John: 1 See Also
|
more
Recently updated
more
Most requested
more
Last requests
|