From: Michael Wallner Date: Thu, 22 Jan 2015 10:12:18 +0000 (+0100) Subject: zend_read_property API update X-Git-Tag: release-2.0.0RC1~21 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=2ddf2740ee0be2b2e55d3d4f8a82cc36aa39336b;p=m6w6%2Fext-propro zend_read_property API update --- diff --git a/php_propro.c b/php_propro.c index d0a69c6..ba854e6 100644 --- a/php_propro.c +++ b/php_propro.c @@ -247,7 +247,7 @@ static zval *get_parent_proxied_value(zval *object, zval *return_value) static zval *get_proxied_value(zval *object, zval *return_value) { - zval *hash_value, *ref; + zval *hash_value, *ref, prop_tmp; php_property_proxy_object_t *obj; obj = get_propro(object); @@ -271,7 +271,7 @@ static zval *get_proxied_value(zval *object, zval *return_value) switch (Z_TYPE_P(ref)) { case IS_OBJECT: RETVAL_ZVAL(zend_read_property(Z_OBJCE_P(ref), ref, - obj->proxy->member->val, obj->proxy->member->len, 0), + obj->proxy->member->val, obj->proxy->member->len, 0, &prop_tmp), 0, 0); break;