You are here

public function ArrayObject::uksort in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-stdlib/src/ArrayObject.php \Zend\Stdlib\ArrayObject::uksort()

Sort the entries by keys using a user-defined comparison function

Parameters

callable $function:

Return value

void

File

vendor/zendframework/zend-stdlib/src/ArrayObject.php, line 392

Class

ArrayObject
Custom framework ArrayObject implementation

Namespace

Zend\Stdlib

Code

public function uksort($function) {
  if (is_callable($function)) {
    uksort($this->storage, $function);
  }
}