diff options
author | Zeev Suraski <zeev@php.net> | 2004-02-12 10:24:40 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2004-02-12 10:24:40 +0000 |
commit | d9630a595b94e54a1837bf773a3c5f7fade5d75b (patch) | |
tree | e111a12ab3ce3d2d03070d509df41b7f3784c81b /Zend/zend_execute.h | |
parent | 559b14611df00e3b73600a51eb6233c181cca325 (diff) | |
download | php-git-d9630a595b94e54a1837bf773a3c5f7fade5d75b.tar.gz |
Exceptions updates:
- Enforce exceptions to be derived from class Exception. This allows
users to perform catch-all. It's not yet complete, so don't get
comfortable with it just yet :) Updates are coming soon.
- Implement zend_throw_exception() using zend_throw_exception_ex()
Diffstat (limited to 'Zend/zend_execute.h')
-rw-r--r-- | Zend/zend_execute.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Zend/zend_execute.h b/Zend/zend_execute.h index db33969251..3f5d5cc4f8 100644 --- a/Zend/zend_execute.h +++ b/Zend/zend_execute.h @@ -65,8 +65,6 @@ ZEND_API int zend_lookup_class(char *name, int name_length, zend_class_entry *** 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); -ZEND_API void zend_throw_exception_object(zval *exception TSRMLS_DC); - static inline int i_zend_is_true(zval *op) { int result; |