diff options
author | Marcus Boerger <helly@php.net> | 2003-08-30 11:40:37 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2003-08-30 11:40:37 +0000 |
commit | f7f49e4584ebed812fb37945c0b2d3f0ad4efbcc (patch) | |
tree | 6deb549831d0f2beeefb0f4e49dd396729cf9cfe /Zend/zend_default_classes.h | |
parent | ad31a021bc9e6b83243adabd6a0c5c52bcc6c9d8 (diff) | |
download | php-git-f7f49e4584ebed812fb37945c0b2d3f0ad4efbcc.tar.gz |
- The compiler can't detect all abstract function calls so we need to check.
# In this case throwing a dedicated exception is better than the error we
# show when the compiler can detect the abstract call because its run-time.
Diffstat (limited to 'Zend/zend_default_classes.h')
-rw-r--r-- | Zend/zend_default_classes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_default_classes.h b/Zend/zend_default_classes.h index 9b6e17661c..c3e592df9f 100644 --- a/Zend/zend_default_classes.h +++ b/Zend/zend_default_classes.h @@ -25,6 +25,7 @@ BEGIN_EXTERN_C() ZEND_API zend_class_entry *zend_exception_get_default(void); +ZEND_API zend_class_entry *zend_exception_get_abstract(void); ZEND_API void zend_register_default_classes(TSRMLS_D); /* exception_ce NULL or zend_exception_get_default() or a derived class |