X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=php_http_property_proxy.c;h=f4d352300cee50da02405c5ece530d0f3f568600;hb=d5de4f9eae86ae1dab0f8a906bf9543710ae124d;hp=781c0c0ccc5c60e67ed8d579bc93d7406b46efbd;hpb=64722314d70dc547e477d87927c22b598aa463d0;p=m6w6%2Fext-http diff --git a/php_http_property_proxy.c b/php_http_property_proxy.c index 781c0c0..f4d3523 100644 --- a/php_http_property_proxy.c +++ b/php_http_property_proxy.c @@ -91,11 +91,7 @@ zend_object_value php_http_property_proxy_object_new_ex(zend_class_entry *ce, ph o = ecalloc(1, sizeof(*o)); zend_object_std_init((zend_object *) o, ce TSRMLS_CC); -#if PHP_VERSION_ID < 50339 - zend_hash_copy(((zend_object *) o)->properties, &(ce->default_properties), (copy_ctor_func_t) zval_add_ref, NULL, sizeof(zval*)); -#else object_properties_init((zend_object *) o, ce); -#endif if (ptr) { *ptr = o;