summaryrefslogtreecommitdiff
path: root/Zend/zend_exceptions.h
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2008-07-13 21:42:49 +0000
committerMarcus Boerger <helly@php.net>2008-07-13 21:42:49 +0000
commit2bf3bfc746f0f034ef9c443ae697b0c3f4b5d3dc (patch)
treed6fd38b7a2043f56906e1f10de7b445c13e6668a /Zend/zend_exceptions.h
parent805f552cd3e0be81a254f27abba64f27140f9c66 (diff)
downloadphp-git-2bf3bfc746f0f034ef9c443ae697b0c3f4b5d3dc.tar.gz
- MFH Exception handling
[DOC] - Exceptions can be thrown while exceptions are pending, they are linked - Exceptions can be handled in __destruct - Add optional Exception $previous parameter to . Exception::__construct . ErrorException::__construct
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 094ea62b6e..0b057c6979 100644
--- a/Zend/zend_exceptions.h
+++ b/Zend/zend_exceptions.h
@@ -26,6 +26,8 @@
BEGIN_EXTERN_C()
+ZEND_API void zend_exception_set_previous(zval *add_previous TSRMLS_DC);
+
void zend_throw_exception_internal(zval *exception TSRMLS_DC);
void zend_register_default_exception(TSRMLS_D);