Re: Internal class, read_property() and type == BP_VAR_W

From: Date: Fri, 28 Oct 2005 17:45:49 +0000
Subject: Re: Internal class, read_property() and type == BP_VAR_W
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-19790@lists.php.net to get a copy of this message
Dmitry Stogov wrote:
read_property(BP_VAR_W) will never work for all cases. Probably you can return proxy object with get() and set() callbacks, but I am not sure if it will work for references too. So if you can return zval** you should use get_property_ptr_ptr().
Hm... maybe I made not a good start with my question, let me ty again, please: typedef struct { zend_object zo; int i; } my_obj; Would you say it's possible that one can maintain i as class property with write access through references? Thank you, -- Michael - <mike(@)php.net> http://dev.iworks.at/ext-http/http-functions.html.gz

« previous php.internals (#19790) next »