[PHP-DEV] Bug #1115 Updated: each() should reset array pointers by default? From: Bug Database (php-dev <email protected>)
Date: 02/02/99

ID: 1115
Updated by: sas
Reported By: charlie <email protected>
Status: Open
Bug Type: Feature/Change Request
Assigned To:
Comments:

This ain't a bug nore an oversight. This behaviour is on purpose. You have to use reset, if you want to be sure that each starts at the beginning. each is a normal command, it cannot "know", when it is executed for the first time or what behaviour the developer expects.

Full Bug description available at: http://ca.php.net/bugs.php3?id=1115

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>