summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2004-07-15 22:22:06 +0000
committerMarcus Boerger <helly@php.net>2004-07-15 22:22:06 +0000
commit77228375171612ccf2ba984c6f7e3c9038810258 (patch)
tree34a7294f197f5e4755bb74a74bd6f39507965783
parent1cdf7e66f45fc62ed962d5bdee240c64598a7562 (diff)
downloadphp-git-77228375171612ccf2ba984c6f7e3c9038810258.tar.gz
- Use ErrorException instead of Exception
-rw-r--r--main/main.c2
1 files changed, 1 insertions, 1 deletions
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;