Re: [patch] Zend/zend_object_handlers.c - bug #29378 (foreach() doesn't work with arrays returned by __get)
| From: | Stanislav Malyshev | Date: | Mon, 13 Sep 2004 15:50:15 +0000 |
| Subject: | Re: [patch] Zend/zend_object_handlers.c - bug #29378 (foreach() doesn't work with arrays returned by __get) | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-12763@lists.php.net to get a copy of this message | ||
AD>>It looks like this bug was done intentionally (I'm not sure, just an
AD>>assumption), so zend_std_get_property_ptr_ptr() doesn't call __get.
I'm not sure it should - this would confuse read/write operators like
object increments. I think it should be talen care of elsewhere.
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115