X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_encoding.c;h=4a71c80074d24f1ea902a641df09810c13653312;hp=c84c30981277d7f478a83e2330da97a88dfb555b;hb=05ae9a5d01e29d7174152b1b46a5af09833d71ef;hpb=305ac2f007710b684d96b05f33964b4f6a4e3e4d diff --git a/php_http_encoding.c b/php_http_encoding.c index c84c309..4a71c80 100644 --- a/php_http_encoding.c +++ b/php_http_encoding.c @@ -959,11 +959,7 @@ zend_object_value php_http_encoding_stream_object_new_ex(zend_class_entry *ce, p 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;