|
ArrayObject::uksortSort the entries by keys using a user-defined comparison function Description
public true ArrayObject::uksort(callable
$callback )This function sorts the keys of the entries using a user-supplied comparison function. The key to entry correlations will be maintained.
Parameters
Return Values
Always returns Changelog
Examples
Example #1 ArrayObject::uksort example
The above example will output: an apple: 3 a banana: 4 the Earth: 2 John: 1 See Also
|