PHP function uksort()

Availability in PHP 4.0

Sort fields by key using a user-defined comparison function

Parameters

Parameter Data type Default value Note
$array array not Input array.
$cmp_function callback not Callback of the comparison function.

Return values

bool

true on success or false on failure.

Other resources

Official uksort documentation

Newsletter

Nejlepsi tipy a triky o PHP do Vaseho e-mailu. Clanky a novinky nejen ze sveta PHP a programovani.