Lines Matching refs:parent_info

1243 		const zend_property_info *parent_info, const zend_property_info *child_info) {  in property_types_compatible()  argument
1244 if (ZEND_TYPE_PURE_MASK(parent_info->type) == ZEND_TYPE_PURE_MASK(child_info->type) in property_types_compatible()
1245 && ZEND_TYPE_NAME(parent_info->type) == ZEND_TYPE_NAME(child_info->type)) { in property_types_compatible()
1249 if (ZEND_TYPE_IS_SET(parent_info->type) != ZEND_TYPE_IS_SET(child_info->type)) { in property_types_compatible()
1255 child_info->ce, child_info->type, parent_info->ce, parent_info->type); in property_types_compatible()
1257 parent_info->ce, parent_info->type, child_info->ce, child_info->type); in property_types_compatible()
1279 static void do_inherit_property(zend_property_info *parent_info, zend_string *key, zend_class_entry… in do_inherit_property() argument
1286 if (parent_info->flags & (ZEND_ACC_PRIVATE|ZEND_ACC_CHANGED)) { in do_inherit_property()
1289 if (!(parent_info->flags & ZEND_ACC_PRIVATE)) { in do_inherit_property()
1290 … if (UNEXPECTED((parent_info->flags & ZEND_ACC_STATIC) != (child_info->flags & ZEND_ACC_STATIC))) { in do_inherit_property()
1292 …(parent_info->flags & ZEND_ACC_STATIC) ? "static " : "non static ", ZSTR_VAL(parent_info->ce->name… in do_inherit_property()
1295 …if (UNEXPECTED((child_info->flags & ZEND_ACC_READONLY) != (parent_info->flags & ZEND_ACC_READONLY)… in do_inherit_property()
1298 parent_info->flags & ZEND_ACC_READONLY ? "readonly" : "non-readonly", in do_inherit_property()
1299 ZSTR_VAL(parent_info->ce->name), ZSTR_VAL(key), in do_inherit_property()
1304 …if (UNEXPECTED((child_info->flags & ZEND_ACC_PPP_MASK) > (parent_info->flags & ZEND_ACC_PPP_MASK))… in do_inherit_property()
1305 …me), ZSTR_VAL(key), zend_visibility_string(parent_info->flags), ZSTR_VAL(parent_info->ce->name), ( in do_inherit_property()
1307 int parent_num = OBJ_PROP_TO_NUM(parent_info->offset); in do_inherit_property()
1314 child_info->offset = parent_info->offset; in do_inherit_property()
1317 if (UNEXPECTED(ZEND_TYPE_IS_SET(parent_info->type))) { in do_inherit_property()
1318 inheritance_status status = property_types_compatible(parent_info, child_info); in do_inherit_property()
1320 emit_incompatible_property_error(child_info, parent_info); in do_inherit_property()
1323 add_property_compatibility_obligation(ce, child_info, parent_info); in do_inherit_property()
1325 …} else if (UNEXPECTED(ZEND_TYPE_IS_SET(child_info->type) && !ZEND_TYPE_IS_SET(parent_info->type)))… in do_inherit_property()
1330 ZSTR_VAL(parent_info->ce->name)); in do_inherit_property()
1334 _zend_hash_append_ptr(&ce->properties_info, key, parent_info); in do_inherit_property()
3272 zend_property_info *parent_info; in zend_can_early_bind() local
3294 ZEND_HASH_MAP_FOREACH_STR_KEY_PTR(&parent_ce->properties_info, key, parent_info) { in zend_can_early_bind()
3296 if ((parent_info->flags & ZEND_ACC_PRIVATE) || !ZEND_TYPE_IS_SET(parent_info->type)) { in zend_can_early_bind()
3304 inheritance_status status = property_types_compatible(parent_info, child_info); in zend_can_early_bind()