diff options
author | Zeev Suraski <zeev@php.net> | 2004-02-25 10:57:10 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2004-02-25 10:57:10 +0000 |
commit | eb6fd52e21919c3a78fe71c6a719af67b5a9ab1c (patch) | |
tree | bab01ef9983f16c90916fd884d8967494dc15ff6 /Zend/zend_variables.c | |
parent | ca64573e1b96527d56ba7e584a48533b497846bb (diff) | |
download | php-git-eb6fd52e21919c3a78fe71c6a719af67b5a9ab1c.tar.gz |
- Rename compatiblity mode to zend.ze2_compatibility_mode (it doesn't only affect auto-clone).
- Perform implementation checks even with simple inheritance (off when
compatibility mode is enabled).
- Restore default arguments in interfaces and handle it correctly.
- Move registration of internal classes later in the startup sequence
in order to have INI options available.
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); |