From: Marcus Boerger Date: Thu, 15 Jul 2004 22:22:06 +0000 (+0000) Subject: - Use ErrorException instead of Exception X-Git-Tag: PRE_ZEND_VM_DISPATCH_PATCH~498 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=77228375171612ccf2ba984c6f7e3c9038810258;p=php - Use ErrorException instead of Exception --- diff --git a/main/main.c b/main/main.c index 9b0a3c9701..84949ccd49 100644 --- a/main/main.c +++ b/main/main.c @@ -667,7 +667,7 @@ static void php_error_cb(int type, const char *error_filename, const uint error_ * but DO NOT overwrite a pending excepption */ if (PG(error_handling) == EH_THROW && !EG(exception)) { - zend_throw_exception(PG(exception_class), buffer, 0 TSRMLS_CC); + zend_throw_error_exception(PG(exception_class), buffer, 0, type TSRMLS_CC); } efree(buffer); return;