PHP 4.0 Bug #6117 Updated: next() fails when it reaches a "0" key
| From: | Bug Database | Date: | Sat, 12 Aug 2000 06:26:52 +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-28636@lists.php.net to get a copy of this message | ||
ID: 6117
Updated by: derick
Reported By: ronen@greyzone.com
Status: Closed
Bug Type: Misbehaving function
Assigned To:
Comments:
It is not a bug, but a feature.
When $key=key($test) matches false ("0" is considered false), the loop ends. That's
normal behaviour.
Full Bug description available at: http://bugs.php.net/?id=6117