Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:14441 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34647 invoked by uid 1010); 27 Jan 2005 22:48:26 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 34631 invoked from network); 27 Jan 2005 22:48:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Jan 2005 22:48:26 -0000 X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.4/2.6 Received: from ([80.74.107.235:60943] helo=mail.zend.com) by pb1.pair.com (ecelerity HEAD (r4105:4106)) with SMTP id FF/12-17863-9BF69F14 for ; Thu, 27 Jan 2005 17:48:25 -0500 Received: (qmail 23354 invoked from network); 27 Jan 2005 22:48:21 -0000 Received: from localhost (HELO andi-notebook.zend.com) (127.0.0.1) by localhost with SMTP; 27 Jan 2005 22:48:21 -0000 Message-ID: <5.1.0.14.2.20050127144719.0270d950@localhost> X-Sender: andi@localhost X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Thu, 27 Jan 2005 14:48:17 -0800 To: Andrei Zmievski ,internals@lists.php.net In-Reply-To: <20050127223357.GA52978@gravitonic.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] get_property_ptr_ptr handler From: andi@zend.com (Andi Gutmans) References: <20050127223357.GA52978@gravitonic.com> 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. Andi At 02:33 PM 1/27/2005 -0800, Andrei Zmievski wrote: >Could someone knowledgeable please remind me again: in what exact >circumstances is overriding get_property_ptr_ptr useful vs. leaving it >NULL? > >- Andrei > >-- >PHP Internals - PHP Runtime Development Mailing List >To unsubscribe, visit: http://www.php.net/unsub.php