Lines Matching refs:prop_info

551 …nline zval* zend_assign_to_typed_property_reference(zend_property_info *prop_info, zval *prop, zva…  in zend_assign_to_typed_property_reference()  argument
553 if (!zend_verify_prop_assignable_by_ref(prop_info, value_ptr, EX_USES_STRICT_TYPES())) { in zend_assign_to_typed_property_reference()
557 ZEND_REF_DEL_TYPE_SOURCE(Z_REF_P(prop), prop_info); in zend_assign_to_typed_property_reference()
560 ZEND_REF_ADD_TYPE_SOURCE(Z_REF_P(prop), prop_info); in zend_assign_to_typed_property_reference()
1207 zend_property_info *prop_info = in zend_verify_internal_read_property_type() local
1209 if (prop_info && prop_info != ZEND_WRONG_PROPERTY_INFO && ZEND_TYPE_IS_SET(prop_info->type)) { in zend_verify_internal_read_property_type()
1211 zend_verify_property_type(prop_info, val, /* strict */ true); in zend_verify_internal_read_property_type()
1490 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
1502 if (EXPECTED(zend_verify_property_type(prop_info, &z_copy, EX_USES_STRICT_TYPES()))) { in zend_binary_assign_op_typed_prop()
1904 static void zend_incdec_typed_prop(zend_property_info *prop_info, zval *var_ptr, zval *copy OPLINE_… in zend_incdec_typed_prop() argument
1921 if (!(ZEND_TYPE_FULL_MASK(prop_info->type) & MAY_BE_DOUBLE)) { in zend_incdec_typed_prop()
1922 zend_long val = zend_throw_incdec_prop_error(prop_info OPLINE_CC); in zend_incdec_typed_prop()
1925 } else if (UNEXPECTED(!zend_verify_property_type(prop_info, var_ptr, EX_USES_STRICT_TYPES()))) { in zend_incdec_typed_prop()
1934 static void zend_pre_incdec_property_zval(zval *prop, zend_property_info *prop_info OPLINE_DC EXECU… in zend_pre_incdec_property_zval()
1942 if (UNEXPECTED(Z_TYPE_P(prop) != IS_LONG) && UNEXPECTED(prop_info) in zend_pre_incdec_property_zval()
1943 && !(ZEND_TYPE_FULL_MASK(prop_info->type) & MAY_BE_DOUBLE)) { in zend_pre_incdec_property_zval()
1944 zend_long val = zend_throw_incdec_prop_error(prop_info OPLINE_CC); in zend_pre_incdec_property_zval()
1958 if (UNEXPECTED(prop_info)) { in zend_pre_incdec_property_zval()
1959 zend_incdec_typed_prop(prop_info, prop, NULL OPLINE_CC EXECUTE_DATA_CC); in zend_pre_incdec_property_zval()
1972 static void zend_post_incdec_property_zval(zval *prop, zend_property_info *prop_info OPLINE_DC EXEC… in zend_post_incdec_property_zval()
1981 if (UNEXPECTED(Z_TYPE_P(prop) != IS_LONG) && UNEXPECTED(prop_info) in zend_post_incdec_property_zval()
1982 && !(ZEND_TYPE_FULL_MASK(prop_info->type) & MAY_BE_DOUBLE)) { in zend_post_incdec_property_zval()
1983 zend_long val = zend_throw_incdec_prop_error(prop_info OPLINE_CC); in zend_post_incdec_property_zval()
1996 if (UNEXPECTED(prop_info)) { in zend_post_incdec_property_zval()
1997 zend_incdec_typed_prop(prop_info, prop, EX_VAR(opline->result.var) OPLINE_CC EXECUTE_DATA_CC); in zend_post_incdec_property_zval()
3046 zval *result, zval *ptr, zend_object *obj, zend_property_info *prop_info, uint32_t flags) in zend_handle_fetch_obj_flags() argument
3051 if (!prop_info) { in zend_handle_fetch_obj_flags()
3052 prop_info = zend_object_fetch_property_type_info(obj, ptr); in zend_handle_fetch_obj_flags()
3053 if (!prop_info) { in zend_handle_fetch_obj_flags()
3057 if (!check_type_array_assignable(prop_info->type)) { in zend_handle_fetch_obj_flags()
3058 zend_throw_auto_init_in_prop_error(prop_info, "array"); in zend_handle_fetch_obj_flags()
3066 if (!prop_info) { in zend_handle_fetch_obj_flags()
3067 prop_info = zend_object_fetch_property_type_info(obj, ptr); in zend_handle_fetch_obj_flags()
3068 if (!prop_info) { in zend_handle_fetch_obj_flags()
3073 if (!ZEND_TYPE_ALLOW_NULL(prop_info->type)) { in zend_handle_fetch_obj_flags()
3074 zend_throw_access_uninit_prop_by_ref_error(prop_info); in zend_handle_fetch_obj_flags()
3082 ZEND_REF_ADD_TYPE_SOURCE(Z_REF_P(ptr), prop_info); in zend_handle_fetch_obj_flags()
3130 zend_property_info *prop_info = CACHED_PTR_EX(cache_slot + 2); in zend_fetch_property_address() local
3131 if (prop_info) { in zend_fetch_property_address()
3132 if (UNEXPECTED(prop_info->flags & ZEND_ACC_READONLY)) { in zend_fetch_property_address()
3140 zend_readonly_property_modification_error(prop_info); in zend_fetch_property_address()
3146 zend_handle_fetch_obj_flags(result, ptr, NULL, prop_info, flags); in zend_fetch_property_address()
3191 zend_property_info *prop_info; in zend_fetch_property_address() local
3194 prop_info = CACHED_PTR_EX(cache_slot + 2); in zend_fetch_property_address()
3195 if (prop_info) { in zend_fetch_property_address()
3196 if (UNEXPECTED(!zend_handle_fetch_obj_flags(result, ptr, NULL, prop_info, flags))) { in zend_fetch_property_address()
3230 zend_property_info *prop_info = NULL; in zend_assign_to_property_reference() local
3233 prop_info = (zend_property_info *) CACHED_PTR_EX(cache_addr + 2); in zend_assign_to_property_reference()
3236 prop_info = zend_object_fetch_property_type_info(Z_OBJ_P(container), variable_ptr); in zend_assign_to_property_reference()
3239 if (UNEXPECTED(prop_info)) { in zend_assign_to_property_reference()
3240 …variable_ptr = zend_assign_to_typed_property_reference(prop_info, variable_ptr, value_ptr EXECUTE_… in zend_assign_to_property_reference()
3282 …nd_fetch_static_property_address_ex(zval **retval, zend_property_info **prop_info, uint32_t cache_… in zend_fetch_static_property_address_ex() argument
3316 *prop_info = CACHED_PTR(cache_slot + sizeof(void *) * 2); in zend_fetch_static_property_address_ex()
3349 *prop_info = property_info; in zend_fetch_static_property_address_ex()
3361 … zend_fetch_static_property_address(zval **retval, zend_property_info **prop_info, uint32_t cache_… in zend_fetch_static_property_address() argument
3388 if (prop_info) { in zend_fetch_static_property_address()
3389 *prop_info = property_info; in zend_fetch_static_property_address()
3595 ZEND_API bool ZEND_FASTCALL zend_verify_prop_assignable_by_ref(zend_property_info *prop_info, zval … in zend_verify_prop_assignable_by_ref() argument
3601 result = i_zend_verify_type_assignable_zval(prop_info, val, strict); in zend_verify_prop_assignable_by_ref()
3611 if (zend_verify_weak_scalar_type_hint(ZEND_TYPE_FULL_MASK(prop_info->type), &tmp)) { in zend_verify_prop_assignable_by_ref()
3613 zend_throw_ref_type_error_type(ref_prop, prop_info, val); in zend_verify_prop_assignable_by_ref()
3621 if (i_zend_check_property_type(prop_info, val, strict)) { in zend_verify_prop_assignable_by_ref()
3626 zend_verify_property_type_error(prop_info, val); in zend_verify_prop_assignable_by_ref()