ID: 26539 Updated by: [EMAIL PROTECTED] 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
