mirror of
https://github.com/php/php-src.git
synced 2024-09-23 02:47:26 +00:00
- We don't need to block those here (works as it works with normal error
overloading)
This commit is contained in:
parent
32c2e664a6
commit
7b3813ea11
@ -652,10 +652,8 @@ static void php_error_cb(int type, const char *error_filename, const uint error_
|
||||
/* according to error handling mode, suppress error, throw exception or show it */
|
||||
if (PG(error_handling) != EH_NORMAL) {
|
||||
switch (type) {
|
||||
case E_ERROR:
|
||||
case E_CORE_ERROR:
|
||||
case E_COMPILE_ERROR:
|
||||
case E_USER_ERROR:
|
||||
case E_PARSE:
|
||||
/* fatal errors are real errors and cannot be made exceptions */
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user