Gen. partnerAlgotech

PHP function krsort()

Sort an array by key in reverse order

|
September 11, 2019

Availability in PHP 4.0

Sort an array by key in reverse order

Parameters

Parameter Data type Default value Note
$array array not The input array.
$sort_flags int null You may modify the behavior of the sort using the optional parameter sort_flags, for details see sort.

Return values

bool

Returns true on success, otherwise false on failure.

Other resources

Official krsort 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.