mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Use zend_error_noreturn() for fatal errors
This commit is contained in:
parent
ac470ddf1c
commit
acfc31c0f8
18 changed files with 68 additions and 68 deletions
|
@ -147,7 +147,7 @@ ZEND_API void _zval_internal_dtor(zval *zvalue ZEND_FILE_LINE_DC)
|
|||
case IS_CONSTANT_AST:
|
||||
case IS_OBJECT:
|
||||
case IS_RESOURCE:
|
||||
zend_error(E_CORE_ERROR, "Internal zval's can't be arrays, objects or resources");
|
||||
zend_error_noreturn(E_CORE_ERROR, "Internal zval's can't be arrays, objects or resources");
|
||||
break;
|
||||
case IS_REFERENCE: {
|
||||
zend_reference *ref = (zend_reference*)Z_REF_P(zvalue);
|
||||
|
@ -178,7 +178,7 @@ ZEND_API void _zval_internal_dtor_for_ptr(zval *zvalue ZEND_FILE_LINE_DC)
|
|||
case IS_CONSTANT_AST:
|
||||
case IS_OBJECT:
|
||||
case IS_RESOURCE:
|
||||
zend_error(E_CORE_ERROR, "Internal zval's can't be arrays, objects or resources");
|
||||
zend_error_noreturn(E_CORE_ERROR, "Internal zval's can't be arrays, objects or resources");
|
||||
break;
|
||||
case IS_REFERENCE: {
|
||||
zend_reference *ref = (zend_reference*)Z_REF_P(zvalue);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue