Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:14442 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36498 invoked by uid 1010); 27 Jan 2005 23:54:35 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 36367 invoked from network); 27 Jan 2005 23:54:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Jan 2005 23:54:26 -0000 X-Host-Fingerprint: 216.145.54.173 mrout3.yahoo.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (2) Received: from ([216.145.54.173:25756] helo=mrout3.yahoo.com) by pb1.pair.com (ecelerity HEAD (r4105:4106)) with SMTP id 9F/E5-17863-F2F79F14 for ; Thu, 27 Jan 2005 18:54:24 -0500 Received: from bourbon.corp.yahoo.com (bourbon.corp.yahoo.com [216.145.53.135]) by mrout3.yahoo.com (8.13.1/8.13.1/y.out) with ESMTP id j0RNrGHw035507; Thu, 27 Jan 2005 15:53:17 -0800 (PST) Received: (from andrei@localhost) by bourbon.corp.yahoo.com (8.12.9/8.11.1) id j0RNrGfU062978; Thu, 27 Jan 2005 15:53:16 -0800 (PST) (envelope-from andrei@gravitonic.com) X-Authentication-Warning: bourbon.corp.yahoo.com: andrei set sender to andrei@gravitonic.com using -f Date: Thu, 27 Jan 2005 15:53:16 -0800 To: Andi Gutmans Cc: internals@lists.php.net Message-ID: <20050127235315.GA62948@gravitonic.com> References: <20050127223357.GA52978@gravitonic.com> <5.1.0.14.2.20050127144719.0270d950@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.1.0.14.2.20050127144719.0270d950@localhost> User-Agent: Mutt/1.4.1i Subject: Re: [PHP-DEV] get_property_ptr_ptr handler From: andrei@gravitonic.com (Andrei Zmievski) On Thu, 27 Jan 2005, Andi Gutmans wrote: > In general it's not useful. It exists so that regular PHP objects can be > optimized to use zval ** and not read/write property callbacks. This is > faster for example if you're doing increment. However, in most cases of > writing extensions I suggest read/write property unless you are just > wrapping zval *'s. If passing those properties by reference to functions works, perfect. I'll NULL it out then. - Andrei