Re: get_property_ptr_ptr handler

From: Date: Thu, 27 Jan 2005 22:48:17 +0000
Subject: Re: get_property_ptr_ptr handler
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-14441@lists.php.net to get a copy of this message
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


« previous php.internals (#14441) next »