mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
fix #36878 (error messages are printed even though an exception has been thrown)
This commit is contained in:
parent
c5df14364b
commit
a93bd9d493
2
NEWS
2
NEWS
@ -11,6 +11,8 @@ PHP NEWS
|
||||
- Removed the E_STRICT deprecation notice from "var". (Ilia)
|
||||
- Fixed debug_zval_dump() to support private and protected members. (Dmitry)
|
||||
- Fixed SoapFault::getMessage(). (Dmitry)
|
||||
- Fixed bug #36878 (error messages are printed even though an exception has
|
||||
been thrown). (Tony)
|
||||
- Fixed bug #36869 (memory leak in output buffering when using chunked output).
|
||||
(Tony)
|
||||
- Fixed bug #36859 (DOMElement crashes when calling __construct when
|
||||
|
@ -1025,7 +1025,7 @@ ZEND_API void zend_error(int type, const char *format, ...)
|
||||
}
|
||||
zval_ptr_dtor(&retval);
|
||||
}
|
||||
} else {
|
||||
} else if (!EG(exception)) {
|
||||
/* The user error handler failed, use built-in error handler */
|
||||
zend_error_cb(type, error_filename, error_lineno, format, args);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user