Gen. partnerAlgotech

PHP function uksort()

Sort fields by key using a user-defined comparison function

|
September 11, 2019

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

Loading comments...

Stay in the loop

Subscribe to our newsletter and get the latest cybersecurity news delivered straight to your inbox.

Your data is safe. You can unsubscribe from the newsletter at any time.