Lines Matching refs:prop_info

572 …nline zval* zend_assign_to_typed_property_reference(zend_property_info *prop_info, zval *prop, zva…  in zend_assign_to_typed_property_reference()  argument
574 if (!zend_verify_prop_assignable_by_ref(prop_info, value_ptr, EX_USES_STRICT_TYPES())) { in zend_assign_to_typed_property_reference()
578 ZEND_REF_DEL_TYPE_SOURCE(Z_REF_P(prop), prop_info); in zend_assign_to_typed_property_reference()
581 ZEND_REF_ADD_TYPE_SOURCE(Z_REF_P(prop), prop_info); in zend_assign_to_typed_property_reference()
1620 static zend_never_inline void zend_binary_assign_op_typed_prop(zend_property_info *prop_info, zval … in zend_binary_assign_op_typed_prop() argument
1632 if (EXPECTED(zend_verify_property_type(prop_info, &z_copy, EX_USES_STRICT_TYPES()))) { in zend_binary_assign_op_typed_prop()
1966 static void zend_incdec_typed_prop(zend_property_info *prop_info, zval *var_ptr, zval *copy OPLINE_… in zend_incdec_typed_prop() argument
1983 if (!(ZEND_TYPE_FULL_MASK(prop_info->type) & MAY_BE_DOUBLE)) { in zend_incdec_typed_prop()
1984 zend_long val = zend_throw_incdec_prop_error(prop_info OPLINE_CC); in zend_incdec_typed_prop()
1987 } else if (UNEXPECTED(!zend_verify_property_type(prop_info, var_ptr, EX_USES_STRICT_TYPES()))) { in zend_incdec_typed_prop()
1996 static void zend_pre_incdec_property_zval(zval *prop, zend_property_info *prop_info OPLINE_DC EXECU… in zend_pre_incdec_property_zval()
2004 if (UNEXPECTED(Z_TYPE_P(prop) != IS_LONG) && prop_info in zend_pre_incdec_property_zval()
2005 && !(ZEND_TYPE_FULL_MASK(prop_info->type) & MAY_BE_DOUBLE)) { in zend_pre_incdec_property_zval()
2006 zend_long val = zend_throw_incdec_prop_error(prop_info OPLINE_CC); in zend_pre_incdec_property_zval()
2020 if (prop_info) { in zend_pre_incdec_property_zval()
2021 zend_incdec_typed_prop(prop_info, prop, NULL OPLINE_CC EXECUTE_DATA_CC); in zend_pre_incdec_property_zval()
2034 static void zend_post_incdec_property_zval(zval *prop, zend_property_info *prop_info OPLINE_DC EXEC… in zend_post_incdec_property_zval()
2043 if (UNEXPECTED(Z_TYPE_P(prop) != IS_LONG) && prop_info in zend_post_incdec_property_zval()
2044 && !(ZEND_TYPE_FULL_MASK(prop_info->type) & MAY_BE_DOUBLE)) { in zend_post_incdec_property_zval()
2045 zend_long val = zend_throw_incdec_prop_error(prop_info OPLINE_CC); in zend_post_incdec_property_zval()
2058 if (prop_info) { in zend_post_incdec_property_zval()
2059 zend_incdec_typed_prop(prop_info, prop, EX_VAR(opline->result.var) OPLINE_CC EXECUTE_DATA_CC); in zend_post_incdec_property_zval()
3116 zval *result, zval *ptr, zend_object *obj, zend_property_info *prop_info, uint32_t flags) in zend_handle_fetch_obj_flags() argument
3121 if (!prop_info) { in zend_handle_fetch_obj_flags()
3122 prop_info = zend_object_fetch_property_type_info(obj, ptr); in zend_handle_fetch_obj_flags()
3123 if (!prop_info) { in zend_handle_fetch_obj_flags()
3127 if (!check_type_array_assignable(prop_info->type)) { in zend_handle_fetch_obj_flags()
3128 zend_throw_auto_init_in_prop_error(prop_info); in zend_handle_fetch_obj_flags()
3136 if (!prop_info) { in zend_handle_fetch_obj_flags()
3137 prop_info = zend_object_fetch_property_type_info(obj, ptr); in zend_handle_fetch_obj_flags()
3138 if (!prop_info) { in zend_handle_fetch_obj_flags()
3143 if (!ZEND_TYPE_ALLOW_NULL(prop_info->type)) { in zend_handle_fetch_obj_flags()
3144 zend_throw_access_uninit_prop_by_ref_error(prop_info); in zend_handle_fetch_obj_flags()
3152 ZEND_REF_ADD_TYPE_SOURCE(Z_REF_P(ptr), prop_info); in zend_handle_fetch_obj_flags()
3200 zend_property_info *prop_info = CACHED_PTR_EX(cache_slot + 2); in zend_fetch_property_address() local
3201 if (prop_info) { in zend_fetch_property_address()
3202 if (UNEXPECTED(prop_info->flags & ZEND_ACC_READONLY)) { in zend_fetch_property_address()
3212 zend_readonly_property_modification_error(prop_info); in zend_fetch_property_address()
3219 zend_handle_fetch_obj_flags(result, ptr, NULL, prop_info, flags); in zend_fetch_property_address()
3265 zend_property_info *prop_info; in zend_fetch_property_address() local
3268 prop_info = CACHED_PTR_EX(cache_slot + 2); in zend_fetch_property_address()
3269 if (prop_info) { in zend_fetch_property_address()
3270 if (UNEXPECTED(!zend_handle_fetch_obj_flags(result, ptr, NULL, prop_info, flags))) { in zend_fetch_property_address()
3305 zend_property_info *prop_info = NULL; in zend_assign_to_property_reference() local
3308 prop_info = (zend_property_info *) CACHED_PTR_EX(cache_addr + 2); in zend_assign_to_property_reference()
3311 prop_info = zend_object_fetch_property_type_info(Z_OBJ_P(container), variable_ptr); in zend_assign_to_property_reference()
3314 if (prop_info) { in zend_assign_to_property_reference()
3315 …variable_ptr = zend_assign_to_typed_property_reference(prop_info, variable_ptr, value_ptr, &garbag… in zend_assign_to_property_reference()
3360 …nd_fetch_static_property_address_ex(zval **retval, zend_property_info **prop_info, uint32_t cache_… in zend_fetch_static_property_address_ex() argument
3394 *prop_info = CACHED_PTR(cache_slot + sizeof(void *) * 2); in zend_fetch_static_property_address_ex()
3425 *prop_info = property_info; in zend_fetch_static_property_address_ex()
3437 … zend_fetch_static_property_address(zval **retval, zend_property_info **prop_info, uint32_t cache_… in zend_fetch_static_property_address() argument
3465 if (prop_info) { in zend_fetch_static_property_address()
3466 *prop_info = property_info; in zend_fetch_static_property_address()
3677 …ASTCALL zend_verify_prop_assignable_by_ref_ex(const zend_property_info *prop_info, zval *orig_val,… in zend_verify_prop_assignable_by_ref_ex() argument
3683 result = i_zend_verify_type_assignable_zval(prop_info, val, strict); in zend_verify_prop_assignable_by_ref_ex()
3693 if (zend_verify_weak_scalar_type_hint(ZEND_TYPE_FULL_MASK(prop_info->type), &tmp)) { in zend_verify_prop_assignable_by_ref_ex()
3695 zend_throw_ref_type_error_type(ref_prop, prop_info, val); in zend_verify_prop_assignable_by_ref_ex()
3703 if (i_zend_check_property_type(prop_info, val, strict)) { in zend_verify_prop_assignable_by_ref_ex()
3709 zend_verify_property_type_error(prop_info, val); in zend_verify_prop_assignable_by_ref_ex()
3712 zend_magic_get_property_type_inconsistency_error(prop_info, val); in zend_verify_prop_assignable_by_ref_ex()
3718 ZEND_API bool ZEND_FASTCALL zend_verify_prop_assignable_by_ref(const zend_property_info *prop_info,… in zend_verify_prop_assignable_by_ref() argument
3719 …return zend_verify_prop_assignable_by_ref_ex(prop_info, orig_val, strict, ZEND_VERIFY_PROP_ASSIGNA… in zend_verify_prop_assignable_by_ref()