Convert fatal errors into EngineExceptions

This commit is contained in:
Dmitry Stogov 2015-04-01 20:01:57 +03:00
parent 0295d89d45
commit ec760d8fff
9 changed files with 132 additions and 109 deletions

View file

@ -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)) {