note 95633 added to class.arrayobject
| From: | lokrain at gmail dot com | Date: | Wed, 13 Jan 2010 13:40:34 +0000 |
| Subject: | note 95633 added to class.arrayobject | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-164909@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 69.147.83.197
Probable Submitter: 94.236.198.124
----
Manual Page -- http://www.php.net/manual/en/class.arrayobject.php
Edit -- https://master.php.net/note/edit/95633
Del: integrated -- https://master.php.net/note/delete/95633/integrated
Del: useless -- https://master.php.net/note/delete/95633/useless
Del: bad code -- https://master.php.net/note/delete/95633/bad+code
Del: spam -- https://master.php.net/note/delete/95633/spam
Del: non-english -- https://master.php.net/note/delete/95633/non-english
Del: in docs -- https://master.php.net/note/delete/95633/in+docs
Del: other reasons-- https://master.php.net/note/delete/95633
Reject -- https://master.php.net/note/reject/95633
Search -- https://master.php.net/manage/user-notes.php