array functions next, current, prev applied to objects in php 5.3.
| From: | robert nicholson | Date: | Tue, 04 Dec 2007 13:59:40 +0000 |
| Subject: | array functions next, current, prev applied to objects in php 5.3. | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-33636@lists.php.net to get a copy of this message | ||
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 been closed as bogus so it seems that 5.3 will behave
differently in this regard to 5.2. It seems likely to me that there will be
at least one application "out there" that needs to be fixed to take this
into account.
My question: Is there a list being kept of "things you might need to fix in
your application in order to move to 5.3" and should this be added?