mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
- 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:
parent
ad31a021bc
commit
f7f49e4584
5 changed files with 34 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue