diff options
Diffstat (limited to 'Zend/zend_variables.c')
| -rw-r--r-- | Zend/zend_variables.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Zend/zend_variables.c b/Zend/zend_variables.c index 4a7fb4f74a..e9a0db8654 100644 --- a/Zend/zend_variables.c +++ b/Zend/zend_variables.c @@ -237,9 +237,7 @@ ZEND_API void _zval_copy_ctor_func(zval *zvalue ZEND_FILE_LINE_DC) case IS_CONSTANT: case IS_STRING: CHECK_ZVAL_STRING_REL(zvalue); - if (!IS_INTERNED(Z_STR_P(zvalue))) { - Z_STR_P(zvalue) = STR_DUP(Z_STR_P(zvalue), 0); - } + Z_STR_P(zvalue) = STR_DUP(Z_STR_P(zvalue), 0); break; case IS_ARRAY: case IS_CONSTANT_ARRAY: { |
