Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:12844 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53604 invoked by uid 1010); 15 Sep 2004 20:23:04 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 51447 invoked from network); 15 Sep 2004 20:22:01 -0000 Received: from unknown (HELO smtp.unet.ru) (213.219.244.56) by pb1.pair.com with SMTP; 15 Sep 2004 20:22:01 -0000 Received: from host.phpclub.net by smtp.unet.ru (8.12.9/Unet) with ESMTP id i8FKLxl3079141; Thu, 16 Sep 2004 00:22:00 +0400 (MSD) Received: from armada by host.phpclub.net (8.12.6/Unet) with ESMTP id i8FKLpaA039783; Thu, 16 Sep 2004 00:21:56 +0400 (MSD) Date: Tue, 14 Sep 2004 18:06:50 +0400 To: Stanislav Malyshev Cc: internals@lists.php.net Message-ID: <20040914180650.5a592253.tony2001@phpclub.net> In-Reply-To: References: <20040910095727.7379c915.tony2001@phpclub.net> X-Mailer: Sylpheed version 0.9.10cvs12 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [patch] Zend/zend_object_handlers.c - bug #29378 (foreach() doesn't work with arrays returned by __get) From: tony2001@phpclub.net (Antony Dovgal) On Mon, 13 Sep 2004 18:50:15 +0300 (IDT) Stanislav Malyshev 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