PHP 4.0 Bug #6117 Updated: next() fails when it reaches a "0" key
| From: | Bug Database | Date: | Sat, 12 Aug 2000 14:34:04 +0000 |
| Subject: | PHP 4.0 Bug #6117 Updated: next() fails when it reaches a "0" key | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-28666@lists.php.net to get a copy of this message | ||
ID: 6117
Updated by: waldschrott
Reported By: ronen@greyzone.com
Status: Analyzed
Bug Type: Documentation problem
Assigned To:
Comments:
I think it´s a docu bug, watch this from manual:
"If the array contains empty elements then this function
will return false for these elements as well. To properly
traverse an array which may contain empty elements see the
each() function."
Thus we should either treat this as a bug (backwards
incompatible!) or modify the docu
Full Bug description available at: http://bugs.php.net/?id=6117