summaryrefslogtreecommitdiff
path: root/Zend/zend_exceptions.h
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 /Zend/zend_exceptions.h
parent46dc120cdc478225eb02411fb7e40d40d81ea35d (diff)
downloadphp-git-2aba36846259e162cfd4baf721358471bf5062ca.tar.gz
- MFH Catch exceptions in cli -a
Diffstat (limited to 'Zend/zend_exceptions.h')
-rw-r--r--Zend/zend_exceptions.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_exceptions.h b/Zend/zend_exceptions.h
index 5a8885f5d0..3c826e5510 100644
--- a/Zend/zend_exceptions.h
+++ b/Zend/zend_exceptions.h
@@ -49,8 +49,8 @@ ZEND_API zval * zend_throw_error_exception(zend_class_entry *exception_ce, char
extern ZEND_API void (*zend_throw_exception_hook)(zval *ex TSRMLS_DC);
-/* show an exception using zend_error(E_ERROR,...) */
-ZEND_API void zend_exception_error(zval *exception TSRMLS_DC);
+/* show an exception using zend_error(severity,...), severity should be E_ERROR */
+ZEND_API void zend_exception_error(zval *exception, int severity TSRMLS_DC);
/* do not export, in php it's available thru spprintf directly */
int zend_spprintf(char **message, int max_len, char *format, ...);