Re: array functions next, current, prev applied to objects in php 5.3.
| From: | Stanislav Malyshev | Date: | Tue, 04 Dec 2007 18:43:07 +0000 |
| Subject: | Re: array functions next, current, prev applied to objects in php 5.3. | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-33674@lists.php.net to get a copy of this message | ||
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? -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com