]> granicus.if.org Git - php/commitdiff
- We don't need to block those here (works as it works with normal error
authorMarcus Boerger <helly@php.net>
Sat, 19 Mar 2005 14:27:17 +0000 (14:27 +0000)
committerMarcus Boerger <helly@php.net>
Sat, 19 Mar 2005 14:27:17 +0000 (14:27 +0000)
  overloading)

main/main.c

index a114e1f8ffc9162e6bdeceece33831fd3edad170..3332ad52e8ee7ca2bb4df8aed0c341792c93fa46 100644 (file)
@@ -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;