File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -522,6 +522,8 @@ create_redis_object(zend_class_entry *ce TSRMLS_DC)
522522 zval * tmp ;
523523 zend_hash_copy (redis -> std .properties , & ce -> default_properties ,
524524 (copy_ctor_func_t )zval_add_ref , (void * )& tmp , sizeof (zval * ));
525+ #else
526+ object_properties_init (& redis -> std , ce );
525527#endif
526528
527529 retval .handle = zend_objects_store_put (redis ,
Original file line number Diff line number Diff line change @@ -194,6 +194,8 @@ create_redis_array_object(zend_class_entry *ce TSRMLS_DC)
194194 zval * tmp ;
195195 zend_hash_copy (obj -> std .properties , & ce -> default_properties ,
196196 (copy_ctor_func_t )zval_add_ref , (void * )& tmp , sizeof (zval * ));
197+ #else
198+ object_properties_init (& obj -> std , ce );
197199#endif
198200
199201 retval .handle = zend_objects_store_put (obj ,
Original file line number Diff line number Diff line change @@ -326,6 +326,8 @@ create_cluster_context(zend_class_entry *class_type TSRMLS_DC) {
326326
327327 zend_hash_copy (cluster -> std .properties , & class_type -> default_properties ,
328328 (copy_ctor_func_t )zval_add_ref , (void * )& tmp , sizeof (zval * ));
329+ #else
330+ object_properties_init (& cluster -> std , class_type );
329331#endif
330332
331333 retval .handle = zend_objects_store_put (cluster ,
You can’t perform that action at this time.
0 commit comments