Re: get_property_ptr_ptr handler
| From: | Andrei Zmievski | Date: | Thu, 27 Jan 2005 23:53:16 +0000 |
| Subject: | Re: get_property_ptr_ptr handler | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-14442@lists.php.net to get a copy of this message | ||
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