mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Convert fatal errors into EngineExceptions
This commit is contained in:
parent
0295d89d45
commit
ec760d8fff
9 changed files with 132 additions and 109 deletions
|
@ -1547,7 +1547,7 @@ ZEND_API int ZEND_FASTCALL concat_function(zval *result, zval *op1, zval *op2) /
|
|||
if (op1_len > SIZE_MAX - op2_len) {
|
||||
zend_error(E_EXCEPTION | E_ERROR, "String size overflow");
|
||||
ZVAL_FALSE(result);
|
||||
return;
|
||||
return FAILURE;
|
||||
}
|
||||
|
||||
if (result == op1 && Z_REFCOUNTED_P(result)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue