Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2017-10-20 16:37:11 +0300
committerPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2017-10-20 16:46:05 +0300
commit9d15f07adb0de7ae02111f942bf7d0957bbc25d0 (patch)
tree13356925721c75bf2d5aff2e98d9d9f201e54a81 /redis_array.c
parent75e7c81dad243eda06c332dcd4c5ecfe2e0c4a68 (diff)
Issue #1224
Diffstat (limited to 'redis_array.c')
-rw-r--r--redis_array.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/redis_array.c b/redis_array.c
index b293253f..01a48e5f 100644
--- a/redis_array.c
+++ b/redis_array.c
@@ -187,6 +187,8 @@ create_redis_array_object(zend_class_entry *ce TSRMLS_DC)
zval *tmp;
zend_hash_copy(obj->std.properties, &ce->default_properties,
(copy_ctor_func_t)zval_add_ref, (void *)&tmp, sizeof(zval *));
+#else
+ object_properties_init(&obj->std, ce);
#endif
retval.handle = zend_objects_store_put(obj,