| Manuál PHP | ||
|---|---|---|
| Předcházející | Další | |
array_reverse
Popis
array array_reverse ( array array [, bool preserve_keys] )
array_reverse() takes input
array and returns a new array with the
order of the elements reversed, preserving the keys if
preserve_keys is TRUE.
$result teď obsahuje array (array ("green",
"red"), 4.0, "php"). Ale $result2[0] je stále
"php".
Poznámka: Druhý argument byl přidán v PHP 4.0.3.
| Předcházející | Domů | Další |
| array_reduce | Nahoru |