Home
last modified time | relevance | path

Searched refs:parent_ce (Results 1 – 8 of 8) sorted by relevance

/php-src/Zend/
H A Dzend_inheritance.h29 ZEND_API void zend_do_inheritance_ex(zend_class_entry *ce, zend_class_entry *parent_ce, bool checke…
31 …ic zend_always_inline void zend_do_inheritance(zend_class_entry *ce, zend_class_entry *parent_ce) { in zend_do_inheritance() argument
32 zend_do_inheritance_ex(ce, parent_ce, 0); in zend_do_inheritance()
39 ZEND_API zend_class_entry *zend_try_early_bind(zend_class_entry *ce, zend_class_entry *parent_ce, z…
H A Dzend_inheritance.c322 zend_class_entry *parent_ce; in unlinked_instanceof() local
324 parent_ce = ce1->parent; in unlinked_instanceof()
332 if (parent_ce && unlinked_instanceof(parent_ce, ce2)) { in unlinked_instanceof()
1772 if ((parent_ce->ce_flags & ZEND_ACC_INTERFACE) || (parent_ce->ce_flags & ZEND_ACC_TRAIT)) { in zend_do_inheritance_ex()
1782parent_ce->ce_flags & ZEND_ACC_READONLY_CLASS ? "readonly" : "non-readonly", ZSTR_VAL(parent_ce->n… in zend_do_inheritance_ex()
1789 ce->parent = parent_ce; in zend_do_inheritance_ex()
1815 src = parent_ce->default_properties_table + parent_ce->default_properties_count; in zend_do_inheritance_ex()
1867 src = parent_ce->default_static_members_table + parent_ce->default_static_members_count; in zend_do_inheritance_ex()
1951 if (parent_ce->num_interfaces) { in zend_do_inheritance_ex()
3813 UPDATE_IS_CACHEABLE(parent_ce); in zend_try_early_bind()
[all …]
H A Dzend_API.c3498 …nd_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce) /* {{{ */ in zend_register_internal_class_ex() argument
3500 return zend_register_internal_class_with_flags(class_entry, parent_ce, 0); in zend_register_internal_class_ex()
3506 zend_class_entry *parent_ce, in zend_register_internal_class_with_flags() argument
3511 if (parent_ce) { in zend_register_internal_class_with_flags()
3512 zend_do_inheritance(register_class, parent_ce); in zend_register_internal_class_with_flags()
H A Dzend_API.h392 …entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce);
393 …ernal_class_with_flags(zend_class_entry *class_entry, zend_class_entry *parent_ce, uint32_t flags);
H A Dzend_vm_def.h9797 zend_class_entry *parent_ce = ce->parent; variable
9798 if (!parent_ce) {
9807 zend_property_info *prop_info = zend_hash_find_ptr(&parent_ce->properties_info, property_name);
9809 …zend_throw_error(NULL, "Undefined property %s::$%s", ZSTR_VAL(parent_ce->name), ZSTR_VAL(property_…
9814 …zend_throw_error(NULL, "Cannot access private property %s::$%s", ZSTR_VAL(parent_ce->name), ZSTR_V…
H A Dzend_compile.c9118 zend_class_entry *parent_ce = zend_lookup_class_ex( in zend_compile_class_decl() local
9121 if (parent_ce in zend_compile_class_decl()
9122 && !zend_compile_ignore_class(parent_ce, ce->info.user.filename)) { in zend_compile_class_decl()
9123 if (zend_try_early_bind(ce, parent_ce, lcname, NULL)) { in zend_compile_class_decl()
H A Dzend_vm_execute.h11512 zend_class_entry *parent_ce = ce->parent; in ZEND_INIT_PARENT_PROPERTY_HOOK_CALL_SPEC_CONST_UNUSED_HANDLER() local
11513 if (!parent_ce) { in ZEND_INIT_PARENT_PROPERTY_HOOK_CALL_SPEC_CONST_UNUSED_HANDLER()
11522 zend_property_info *prop_info = zend_hash_find_ptr(&parent_ce->properties_info, property_name); in ZEND_INIT_PARENT_PROPERTY_HOOK_CALL_SPEC_CONST_UNUSED_HANDLER()
11524 …zend_throw_error(NULL, "Undefined property %s::$%s", ZSTR_VAL(parent_ce->name), ZSTR_VAL(property_… in ZEND_INIT_PARENT_PROPERTY_HOOK_CALL_SPEC_CONST_UNUSED_HANDLER()
11529 …zend_throw_error(NULL, "Cannot access private property %s::$%s", ZSTR_VAL(parent_ce->name), ZSTR_V… in ZEND_INIT_PARENT_PROPERTY_HOOK_CALL_SPEC_CONST_UNUSED_HANDLER()
/php-src/ext/opcache/
H A Dzend_accelerator_util_funcs.c358 zend_class_entry *parent_ce = !(orig_ce->ce_flags & ZEND_ACC_LINKED) in zend_accel_do_delayed_early_binding() local
361 if (parent_ce || (orig_ce->ce_flags & ZEND_ACC_LINKED)) { in zend_accel_do_delayed_early_binding()
362 ce = zend_try_early_bind(orig_ce, parent_ce, early_binding->lcname, zv); in zend_accel_do_delayed_early_binding()

Completed in 223 milliseconds