PHP » GoLang |
login |
register |
about
|
array_reverse(PHP 4, PHP 5, PHP 7) array_reverse — Return an array with elements in reverse order Description
array array_reverse
( array
$array
[, bool $preserve_keys = FALSE
] )
Takes an input Parameters
Return ValuesReturns the reversed array. Examples
Example #1 array_reverse() example
<?php The above example will output: Array ( [0] => php [1] => 4 [2] => Array ( [0] => green [1] => red ) ) Array ( [0] => Array ( [0] => green [1] => red ) [1] => 4 [2] => php ) Array ( [2] => Array ( [0] => green [1] => red ) [1] => 4 [0] => php ) |
more
Recently updated
more
Most requested
more
Last requests
|