summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2005-03-19 14:27:17 (GMT)
committerMarcus Boerger <helly@php.net>2005-03-19 14:27:17 (GMT)
commit7b3813ea1180f87d715f816789351ab2f0f6a0a5 (patch)
treee48df98ad4c61ebd097f82473e444bcac842e817 /main
parent32c2e664a6ecec122510170c15328ed6d6ff9bf3 (diff)
downloadphp-7b3813ea1180f87d715f816789351ab2f0f6a0a5.tar.gz
- We don't need to block those here (works as it works with normal error
overloading)
Diffstat (limited to 'main')
-rw-r--r--main/main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/main/main.c b/main/main.c
index a114e1f..3332ad5 100644
--- a/main/main.c
+++ b/main/main.c
@@ -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;