#43067 [Opn->Bgs]: array_diff doc error
| From: | rquadling@php.net | Date: | Mon, 22 Oct 2007 11:16:45 +0000 |
| Subject: | #43067 [Opn->Bgs]: array_diff doc error | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-163@lists.php.net to get a copy of this message | ||
ID: 43067
Updated by: rquadling@php.net
Reported By: oddsen84 at hotmail dot com
-Status: Open
+Status: Bogus
Bug Type: Documentation problem
Operating System: win xp pro
PHP Version: Irrelevant
New Comment:
Example is correct.
Previous Comments:
------------------------------------------------------------------------
[2007-10-22 11:16:16] rquadling@php.net
No.
The key to 'blue' is 1. This is what is reported.
If you were to add 'green' in front of 'blue', then the result would be
...
Array
(
[2] => blue
)
------------------------------------------------------------------------
[2007-10-22 11:05:23] oddsen84 at hotmail dot com
Description:
------------
Should not the array in the example start with 0 and not 1? This would
be the standard would it not?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=43067&edit=1