Re: array functions next, current, prev applied to objects in php 5.3.
| From: | Jani Taskinen | Date: | Tue, 04 Dec 2007 19:01:03 +0000 |
| Subject: | Re: array functions next, current, prev applied to objects in php 5.3. | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-33677@lists.php.net to get a copy of this message | ||
On Tue, 2007-12-04 at 10:43 -0800, Stanislav Malyshev wrote:
> > Previously (5.2 and before) it was possible to use these as a crude iterator
> > over object properties. In 5.3 this behaviour has been removed.
>
> It would be nice if these functions would work with any Iterator
> implementation.
> As for regular objects, what would be the reason not to keep it as it
> was before?
No idea, this was just a result of MFH. So ask those who did this in
HEAD. :)
--Jani
--
Patches/Donations: http://pecl.php.net/~jani/