Re: [patch] Zend/zend_object_handlers.c - bug #29378 (foreach() doesn't work with arrays returned by __get)
| From: | Antony Dovgal | Date: | Tue, 14 Sep 2004 14:06:50 +0000 |
| Subject: | Re: [patch] Zend/zend_object_handlers.c - bug #29378 (foreach() doesn't work with arrays returned by __get) | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-12844@lists.php.net to get a copy of this message | ||
On Mon, 13 Sep 2004 18:50:15 +0300 (IDT)
Stanislav Malyshev <stas@zend.com> wrote:
> AD>>It looks like this bug was done intentionally (I'm not sure, just
> AD>an>assumption), so zend_std_get_property_ptr_ptr() doesn't call
> AD>__get.
>
> I'm not sure it should - this would confuse read/write operators like
> object increments.
Hmm.. could you provide any examples?
I just want to test them with the patch and see maybe I can adopt it.
>I think it should be talen care of elsewhere.
Any ideas where?
--
Wbr,
Antony Dovgal aka tony2001
tony2001@phpclub.net || antony@dovgal.com