#26539 [Opn->Csd]: array_search manual missing info
| From: | dave@php.net | Date: | Mon, 15 Dec 2003 19:13:31 +0000 |
| Subject: | #26539 [Opn->Csd]: array_search manual missing info | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969357471@lists.php.net to get a copy of this message | ||
ID: 26539
Updated by: dave@php.net
Reported By: blakjak at blakjak dot sytes dot net
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: Debian Linux
PHP Version: 4.3.3
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2003-12-06 06:38:58] blakjak at blakjak dot sytes dot net
Description:
------------
The manual page for array_search() does not say how the function
behaves when there are multiple instances of the value "needle" in
"haystack". Which of the matching values' keys is returned?
It's most likely that the first matching instance (searching from the
beginning of the array) is the one returned, but this should still be
explained in the documentation.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26539&edit=1