diff options
author | Marcus Boerger <helly@php.net> | 2003-08-24 13:10:03 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2003-08-24 13:10:03 +0000 |
commit | d3473d1f58c3801805ceac5c6c7df839d12c2a04 (patch) | |
tree | d6894bbf5392bc02eaca1ecb81a90546bb38d73a /Zend/zend_exceptions.h | |
parent | 669603f69d7133053e5c1b888caa229c7e5b276a (diff) | |
download | php-git-d3473d1f58c3801805ceac5c6c7df839d12c2a04.tar.gz |
- Provide a unified way to display uncaught exceptions, which shows
file/line/message info if possible.
- Add zend_eval_string_ex() to be able to handle exceptions in eval'd code.
- Use above function to fix memleaks in CLI.
Diffstat (limited to 'Zend/zend_exceptions.h')
-rw-r--r-- | Zend/zend_exceptions.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_exceptions.h b/Zend/zend_exceptions.h index 36ebb7725f..31b1b4365c 100644 --- a/Zend/zend_exceptions.h +++ b/Zend/zend_exceptions.h @@ -26,6 +26,7 @@ BEGIN_EXTERN_C() ZEND_API zend_class_entry *zend_exception_get_default(void); ZEND_API void zend_throw_exception(char *message, long code TSRMLS_DC); ZEND_API void zend_register_default_classes(TSRMLS_D); +ZEND_API void zend_exception_error(zval *exception TSRMLS_DC); END_EXTERN_C() |