Doc #63213 [Opn->Csd]: Error in documentation

From: Date: Wed, 14 Nov 2012 15:23:23 +0000
Subject: Doc #63213 [Opn->Csd]: Error in documentation
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-9124@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=63213&edit=1

 ID:                 63213
 Updated by:         krakjoe@php.net
 Reported by:        666grzesiek666 at wp dot pl
 Summary:            Error in documentation
-Status:             Open
+Status:             Closed
 Type:               Documentation Problem
 Package:            Documentation problem
 PHP Version:        Irrelevant
-Assigned To:        
+Assigned To:        krakjoe
 Block user comment: N
 Private report:     N

 New Comment:

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.

The example has been edited for clarity. array_reverse functions as documented.


Previous Comments:
------------------------------------------------------------------------
[2012-11-14 14:55:36] krakjoe@php.net

Automatic comment from SVN on behalf of krakjoe
Revision: http://svn.php.net/viewvc/?view=revision&revision=328357
Log: bug #63213 just requires a clear example

------------------------------------------------------------------------
[2012-10-03 22:51:50] 666grzesiek666 at wp dot pl

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
---




------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=63213&edit=1


Thread (2 messages)

« previous php.doc.bugs (#9124) next »