From: Marcus Boerger Date: Thu, 11 May 2006 07:55:48 +0000 (+0000) Subject: - Fix error mode handling X-Git-Tag: BEFORE_NEW_OUTPUT_API~232 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1f030db7006ee0d71934bc28e8174e7980400990;p=php - Fix error mode handling --- diff --git a/main/main.c b/main/main.c index 710f984b70..09d8ad2c54 100644 --- a/main/main.c +++ b/main/main.c @@ -796,8 +796,10 @@ 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;