Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:10975 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 73994 invoked by uid 1010); 8 Jul 2004 10:10:17 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 73970 invoked from network); 8 Jul 2004 10:10:17 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by pb1.pair.com with SMTP; 8 Jul 2004 10:10:17 -0000 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BiVr6-0001mz-00 for ; Thu, 08 Jul 2004 12:10:16 +0200 Received: from rusfw02.rohde-schwarz.com ([80.246.32.40]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 08 Jul 2004 12:10:16 +0200 Received: from ddb by rusfw02.rohde-schwarz.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 08 Jul 2004 12:10:16 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: internals@lists.php.net Date: Thu, 8 Jul 2004 10:03:09 +0000 (UTC) Lines: 20 Message-ID: References: <01db01c46342$2ea393c0$f7dea8c0@cyberware.local> <11610112416.20040706204401@marcus-boerger.de> <5.1.0.14.2.20040707202714.05228788@localhost> <03cc01c46458$76ab6460$f7dea8c0@cyberware.local> <5.1.0.14.2.20040708001852.045ffe08@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 80.246.32.40 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030728 Mozilla Firebird/0.6.1) Sender: news Subject: Re: [PHP-DEV] extended objects with =?utf-8?b?cmVhZF9wcm9wZXJ0eQ==?= and =?utf-8?b?Z2V0X3Byb3BlcnR5X3B0cl9wdHI=?= From: ddb@bitxtender.net (Dominik del Bondio) Zeev Suraski zend.com> writes: > The correct solution, I think, would be adding a boolean function (or even > just a bit) to the handlers structure, that instructs the engine whether it > should use get_ptr_ptr for incdec or not, since it's an > optimization. Maybe we can just check whether we're dealing with PHP > objects and perform this optimization only then. I need to look into it. > > Zeev > I just wanted to point you to bug http://bugs.php.net/bug.php?id=28444 which would get fixed with this patch as well, so only fixing this for post/incdec is probably a bad idea :) I think this should be targeted to be fixed for the 5.0 release because i ran across this behaviour very quick after using __get & __set and it could produce a _bit_ confusion