diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-05-09 10:41:06 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-05-24 09:30:13 +0200 |
commit | afec3a9208c2a34762a87cb797f28e7e61c88cca (patch) | |
tree | 78e941d6b589a16ec622d8510fcd195cb736a339 /Zend/zend_inheritance.h | |
parent | 71ce7d32eaa2e6e55ddde55c729a046af81e7a0f (diff) | |
download | php-git-afec3a9208c2a34762a87cb797f28e7e61c88cca.tar.gz |
Avoid early-binding on unresolved types
Fixes bug #76451, and more importantly lays necessary groundwork for
covariant/contravariant types. Bug #76451 is just an edge case, but
once covariance is introduced this will become a common problem instead.
Diffstat (limited to 'Zend/zend_inheritance.h')
-rw-r--r-- | Zend/zend_inheritance.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_inheritance.h b/Zend/zend_inheritance.h index 9f3668191a..a35a4c6638 100644 --- a/Zend/zend_inheritance.h +++ b/Zend/zend_inheritance.h @@ -32,6 +32,7 @@ ZEND_API void zend_do_link_class(zend_class_entry *ce, zend_class_entry *parent_ void zend_verify_abstract_class(zend_class_entry *ce); void zend_check_deprecated_constructor(const zend_class_entry *ce); void zend_build_properties_info_table(zend_class_entry *ce); +zend_bool zend_can_early_bind(zend_class_entry *ce, zend_class_entry *parent_ce); END_EXTERN_C() |