projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
fix caching by last modified
[m6w6/ext-http]
/
php_http_curl_client_datashare.c
diff --git
a/php_http_curl_client_datashare.c
b/php_http_curl_client_datashare.c
index 1c9cf4d7178964647b94ee7dc0d3b426e889257a..3668512bccf93d2f6777e4451adc89fb1fffbd73 100644
(file)
--- a/
php_http_curl_client_datashare.c
+++ b/
php_http_curl_client_datashare.c
@@
-191,11
+191,7
@@
zend_object_value php_http_curl_client_datashare_object_new_ex(zend_class_entry
o = ecalloc(1, sizeof(*o));
zend_object_std_init((zend_object *) o, ce TSRMLS_CC);
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);
object_properties_init((zend_object *) o, ce);
-#endif
if (share) {
o->share = share;
if (share) {
o->share = share;