diff --git a/Zend/zend_vm_def.h b/Zend/zend_vm_def.h index bec9169e8d3..d8820866927 100644 --- a/Zend/zend_vm_def.h +++ b/Zend/zend_vm_def.h @@ -5397,7 +5397,6 @@ ZEND_VM_HANDLER(143, ZEND_DECLARE_CONST, CONST, CONST) } else { zval_copy_ctor(&c.value); } - zval_copy_ctor(&c.value); } c.flags = CONST_CS; /* non persistent, case sensetive */ c.name = str_strndup(Z_STRVAL_P(name), Z_STRLEN_P(name)); diff --git a/Zend/zend_vm_execute.h b/Zend/zend_vm_execute.h index 7e6cfb3e278..81aeb43295c 100644 --- a/Zend/zend_vm_execute.h +++ b/Zend/zend_vm_execute.h @@ -4333,7 +4333,6 @@ static int ZEND_FASTCALL ZEND_DECLARE_CONST_SPEC_CONST_CONST_HANDLER(ZEND_OPCOD } else { zval_copy_ctor(&c.value); } - zval_copy_ctor(&c.value); } c.flags = CONST_CS; /* non persistent, case sensetive */ c.name = str_strndup(Z_STRVAL_P(name), Z_STRLEN_P(name));