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.
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
wa
the only documented way to iterate over properties is using "foreach"
http://www.php.net/manual/en/language.oop5.iterations.php
Does that one still work?
On 12/4/07, robert nicholson <[EMAIL PROTECTED]> wrote:
> I raised bug http://bugs.php.net/bug.php?id=43480 noting that the behaviour
> of the
I raised bug http://bugs.php.net/bug.php?id=43480 noting that the behaviour
of the array functions next, current, prev had been changed in 5.3.
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.
The bug has b