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

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to