- 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.
This commit is contained in:
Marcus Boerger 2003-08-30 11:40:37 +00:00
parent ad31a021bc
commit f7f49e4584
5 changed files with 34 additions and 7 deletions

View file

@ -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