diff options
Diffstat (limited to 'Zend/zend_variables.c')
-rw-r--r-- | Zend/zend_variables.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_variables.c b/Zend/zend_variables.c index 8f60fcffd9..e14d0c96b3 100644 --- a/Zend/zend_variables.c +++ b/Zend/zend_variables.c @@ -154,7 +154,7 @@ ZEND_API int _zval_copy_ctor(zval *zvalue ZEND_FILE_LINE_DC) { TSRMLS_FETCH(); - if (EG(implicit_clone)) { + if (EG(ze1_compatibility_mode)) { zvalue->value.obj = zvalue->value.obj.handlers->clone_obj(zvalue TSRMLS_CC); } else { Z_OBJ_HT_P(zvalue)->add_ref(zvalue TSRMLS_CC); |