current PHP7 engine already has fixed property access container zval
[m6w6/ext-propro] / php_propro.c
index ac4d973dfabced6ad519b9d67d151eeffcf7c02a..29627bad4b03a42a246118f3ead4f3bdd6e704f8 100644 (file)
@@ -50,18 +50,6 @@ void php_property_proxy_free(php_property_proxy_t **proxy)
        }
 }
 
-zval *php_property_proxy_zval(zval *container, zend_string *member)
-{
-       php_property_proxy_t *proxy;
-       php_property_proxy_object_t *proxy_obj;
-
-       proxy = php_property_proxy_init(container, member);
-       proxy_obj = php_property_proxy_object_new_ex(NULL, proxy);
-
-       ZVAL_OBJ(&proxy_obj->myself, &proxy_obj->zo);
-       return &proxy_obj->myself;
-}
-
 static zend_class_entry *php_property_proxy_class_entry;
 static zend_object_handlers php_property_proxy_object_handlers;