summaryrefslogtreecommitdiff
path: root/Zend/zend_execute.h
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-08-24 13:10:03 +0000
committerMarcus Boerger <helly@php.net>2003-08-24 13:10:03 +0000
commitd3473d1f58c3801805ceac5c6c7df839d12c2a04 (patch)
treed6894bbf5392bc02eaca1ecb81a90546bb38d73a /Zend/zend_execute.h
parent669603f69d7133053e5c1b888caa229c7e5b276a (diff)
downloadphp-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_execute.h')
-rw-r--r--Zend/zend_execute.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_execute.h b/Zend/zend_execute.h
index 39b2ee6e87..62bb09fb71 100644
--- a/Zend/zend_execute.h
+++ b/Zend/zend_execute.h
@@ -69,6 +69,7 @@ static inline void safe_free_zval_ptr(zval *p)
}
ZEND_API int zend_lookup_class(char *name, int name_length, zend_class_entry ***ce TSRMLS_DC);
ZEND_API int zend_eval_string(char *str, zval *retval_ptr, char *string_name TSRMLS_DC);
+ZEND_API int zend_eval_string_ex(char *str, zval *retval_ptr, char *string_name, int handle_exceptions TSRMLS_DC);
static inline int i_zend_is_true(zval *op)
{