We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 153e057 commit 2594fa7Copy full SHA for 2594fa7
1 file changed
Zend/zend_execute.h
@@ -584,17 +584,6 @@ ZEND_API zend_result ZEND_FASTCALL zend_handle_undef_args(zend_execute_data *cal
584
#define ZEND_CLASS_HAS_TYPE_HINTS(ce) ((bool)(ce->ce_flags & ZEND_ACC_HAS_TYPE_HINTS))
585
#define ZEND_CLASS_HAS_READONLY_PROPS(ce) ((bool)(ce->ce_flags & ZEND_ACC_HAS_READONLY_PROPS))
586
587
-static zend_always_inline bool zend_scope_is_derived_from(
588
- const zend_class_entry *scope, const zend_class_entry *ancestor)
589
-{
590
- for (const zend_class_entry *ce = scope; ce != NULL; ce = ce->parent) {
591
- if (ce == ancestor) {
592
- return true;
593
- }
594
595
- return false;
596
-}
597
-
598
static zend_always_inline bool zend_has_active_ctor_with_promoted_property(
599
const zend_execute_data *ex, zend_object *obj, zend_string *property_name)
600
{
0 commit comments