|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-11-14 14:55 UTC] krakjoe@php.net
[2012-11-14 15:23 UTC] krakjoe@php.net
[2012-11-14 15:23 UTC] krakjoe@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: krakjoe
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 06 08:00:02 2026 UTC |
Description: ------------ In documentation page there is an error in example. Accually Array_revers when preserve key is true will maintain key to value. Example shows that it does not. Proper output will be: Array ( [0] => Array ( [0] => green [1] => red ) [1] => 4 [2] => php ) Array ( [2] => php [1] => 4 [0] =>Array ( [0] => green [1] => red ) ) --- From manual page: http://www.php.net/function.array-reverse#refsect1-function.array-reverse-seealso ---