summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2009-01-02 13:14:49 +0000
committerMarcus Boerger <helly@php.net>2009-01-02 13:14:49 +0000
commit2aba36846259e162cfd4baf721358471bf5062ca (patch)
tree68a7dde6a9506fcfc4b72e7337942de23d6b5b3a /sapi/cli/php_cli.c
parent46dc120cdc478225eb02411fb7e40d40d81ea35d (diff)
downloadphp-git-2aba36846259e162cfd4baf721358471bf5062ca.tar.gz
- MFH Catch exceptions in cli -a
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r--sapi/cli/php_cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c
index 519217fa24..3b72f9469f 100644
--- a/sapi/cli/php_cli.c
+++ b/sapi/cli/php_cli.c
@@ -1123,7 +1123,7 @@ int main(int argc, char *argv[])
}
if (EG(exception)) {
- zend_exception_error(EG(exception) TSRMLS_CC);
+ zend_exception_error(EG(exception), E_WARNING TSRMLS_CC);
}
php_last_char = '\0';