note 95633 deleted from class.arrayobject by danbrown
| From: | danbrown@php.net | Date: | Wed, 13 Jan 2010 15:50:26 +0000 |
| Subject: | note 95633 deleted from class.arrayobject by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-164915@lists.php.net to get a copy of this message | ||
Note Submitter: lokrain at gmail dot com
----
skrebbel@gmail.com I should strictly disagree with you. Iterations of vanilla foreach cannot be
interrupted.
In other words, using ArrayObject gives you the ability to change next() function, which is called
by foreach.
This can be very powerful.