PHP Manual

PHP function rsort()

11. 09. 2019

Obsah článku

Availability in `PHP 4.0`

Sort an array 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 rsort documentation

Jan Barášek   Více o autorovi

Autor článku pracuje jako seniorní vývojář a software architekt v Praze. Navrhuje a spravuje velké webové aplikace, které znáte a používáte. Od roku 2009 nabral bohaté zkušenosti, které tímto webem předává dál.

Rád vám pomůžu:

Související články

1.

V jiných jazycích

2.
Status:
All systems normal.
2024