ArrayObject::uksort

ArrayObject::uksort

(PHP 5 >= 5.2.0, PHP 7)

ArrayObject::uksortSort the entries by keys using a user-defined comparison function

Description

public void ArrayObject::uksort ( callable $cmp_function )

This function sorts the keys of the entries using a user-supplied comparison function. The key to entry correlations will be maintained.

Parameters

cmp_function

The callback comparison function.

Function 登录查看完整内容