summaryrefslogtreecommitdiff
path: root/Zend/zend_exceptions.h
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2004-04-13 15:19:21 +0000
committerAndi Gutmans <andi@php.net>2004-04-13 15:19:21 +0000
commit979da661186cd00d3fc2a86d9a550c726b210356 (patch)
tree06c2f1de322a64b4be7f5191fed74c589be04dc8 /Zend/zend_exceptions.h
parent254c8d6ce92d080b914337ab38b5cdfd99fe5dcc (diff)
downloadphp-git-979da661186cd00d3fc2a86d9a550c726b210356.tar.gz
- Add hook for exception handler (Derick)
Diffstat (limited to 'Zend/zend_exceptions.h')
-rw-r--r--Zend/zend_exceptions.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend_exceptions.h b/Zend/zend_exceptions.h
index b5653c8488..059a60479c 100644
--- a/Zend/zend_exceptions.h
+++ b/Zend/zend_exceptions.h
@@ -40,6 +40,8 @@ ZEND_API void zend_throw_exception_ex(zend_class_entry *exception_ce, long code
ZEND_API void zend_throw_exception_object(zval *exception TSRMLS_DC);
ZEND_API void zend_clear_exception(TSRMLS_D);
+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);