/PHP-8.3/Zend/ |
H A D | zend_object_handlers.c | 75 if (!prop_info) { in rebuild_object_properties() 106 if (!prop_info) { in zend_std_build_object_properties_array() 259 return prop_info; in zend_get_parent_private_property() 626 if (prop_info && UNEXPECTED(prop_info->flags & ZEND_ACC_READONLY) in zend_std_read_property() 643 if (prop_info && UNEXPECTED(prop_info->flags & ZEND_ACC_READONLY)) { in zend_std_read_property() 803 if (prop_info) { in verify_readonly_initialization_access() 1130 } else if (!prop_info || !ZEND_TYPE_IS_SET(prop_info->type)) { in zend_std_get_property_ptr_ptr() 1137 } else if (prop_info && UNEXPECTED(prop_info->flags & ZEND_ACC_READONLY)) { in zend_std_get_property_ptr_ptr() 1191 if (UNEXPECTED(prop_info && (prop_info->flags & ZEND_ACC_READONLY))) { in zend_std_unset_property() 1201 if (prop_info) { in zend_std_unset_property() [all …]
|
H A D | zend_objects_API.h | 108 zend_property_info *prop_info = zend_get_property_info_for_slot(obj, slot); in zend_get_typed_property_info_for_slot() local 109 if (prop_info && ZEND_TYPE_IS_SET(prop_info->type)) { in zend_get_typed_property_info_for_slot() 110 return prop_info; in zend_get_typed_property_info_for_slot()
|
H A D | zend_objects.c | 72 zend_property_info *prop_info = zend_get_property_info_for_slot(object, p); in zend_object_std_dtor() local 73 if (ZEND_TYPE_IS_SET(prop_info->type)) { in zend_object_std_dtor() 74 ZEND_REF_DEL_TYPE_SOURCE(Z_REF_P(p), prop_info); in zend_object_std_dtor() 215 zend_property_info *prop_info = zend_get_property_info_for_slot(new_object, dst); in zend_objects_clone_members() local 216 if (ZEND_TYPE_IS_SET(prop_info->type)) { in zend_objects_clone_members() 217 ZEND_REF_ADD_TYPE_SOURCE(Z_REF_P(dst), prop_info); in zend_objects_clone_members()
|
H A D | zend_opcode.c | 181 zend_property_info *prop_info; in zend_cleanup_internal_class_data() local 183 if (prop_info->ce == ce && p - static_members == prop_info->offset) { in zend_cleanup_internal_class_data() 288 zend_property_info *prop_info; in destroy_zend_class() local 385 if (prop_info->ce == ce) { in destroy_zend_class() 387 if (prop_info->doc_comment) { in destroy_zend_class() 390 if (prop_info->attributes) { in destroy_zend_class() 391 zend_hash_release(prop_info->attributes); in destroy_zend_class() 447 if (prop_info->ce == ce) { in destroy_zend_class() 448 zend_string_release(prop_info->name); in destroy_zend_class() 450 if (prop_info->attributes) { in destroy_zend_class() [all …]
|
H A D | zend_execute.c | 2018 if (UNEXPECTED(prop_info)) { in zend_pre_incdec_property_zval() 2056 if (UNEXPECTED(prop_info)) { in zend_post_incdec_property_zval() 3119 if (!prop_info) { in zend_handle_fetch_obj_flags() 3121 if (!prop_info) { in zend_handle_fetch_obj_flags() 3134 if (!prop_info) { in zend_handle_fetch_obj_flags() 3136 if (!prop_info) { in zend_handle_fetch_obj_flags() 3199 if (prop_info) { in zend_fetch_property_address() 3270 if (prop_info) { in zend_fetch_property_address() 3426 *prop_info = property_info; in zend_fetch_static_property_address_ex() 3466 if (prop_info) { in zend_fetch_static_property_address() [all …]
|
H A D | zend_builtin_functions.c | 687 zend_property_info *prop_info; in add_class_vars() local 692 ZEND_HASH_MAP_FOREACH_STR_KEY_PTR(&ce->properties_info, key, prop_info) { in add_class_vars() 693 if (((prop_info->flags & ZEND_ACC_PROTECTED) && in add_class_vars() 694 !zend_check_protected(prop_info->ce, scope)) || in add_class_vars() 695 ((prop_info->flags & ZEND_ACC_PRIVATE) && in add_class_vars() 696 prop_info->ce != scope)) { in add_class_vars() 700 if (statics && (prop_info->flags & ZEND_ACC_STATIC) != 0) { in add_class_vars() 701 prop = &ce->default_static_members_table[prop_info->offset]; in add_class_vars() 703 } else if (!statics && (prop_info->flags & ZEND_ACC_STATIC) == 0) { in add_class_vars() 704 prop = &default_properties_table[OBJ_PROP_TO_NUM(prop_info->offset)]; in add_class_vars()
|
H A D | zend_vm_execute.h | 6485 if (!EG(exception) && prop_info && prop_info != ZEND_WRONG_PROPERTY_INFO in ZEND_FETCH_OBJ_R_SPEC_CONST_CONST_HANDLER() 9005 if (!EG(exception) && prop_info && prop_info != ZEND_WRONG_PROPERTY_INFO in ZEND_FETCH_OBJ_R_SPEC_CONST_TMPVAR_HANDLER() 11392 if (!EG(exception) && prop_info && prop_info != ZEND_WRONG_PROPERTY_INFO in ZEND_FETCH_OBJ_R_SPEC_CONST_CV_HANDLER() 15774 if (!EG(exception) && prop_info && prop_info != ZEND_WRONG_PROPERTY_INFO in ZEND_FETCH_OBJ_R_SPEC_TMPVAR_CONST_HANDLER() 17219 if (!EG(exception) && prop_info && prop_info != ZEND_WRONG_PROPERTY_INFO in ZEND_FETCH_OBJ_R_SPEC_TMPVAR_TMPVAR_HANDLER() 18579 if (!EG(exception) && prop_info && prop_info != ZEND_WRONG_PROPERTY_INFO in ZEND_FETCH_OBJ_R_SPEC_TMPVAR_CV_HANDLER() 33006 if (!EG(exception) && prop_info && prop_info != ZEND_WRONG_PROPERTY_INFO in ZEND_FETCH_OBJ_R_SPEC_UNUSED_CONST_INLINE_HANDLER() 35065 if (!EG(exception) && prop_info && prop_info != ZEND_WRONG_PROPERTY_INFO in ZEND_FETCH_OBJ_R_SPEC_UNUSED_TMPVAR_HANDLER() 37561 if (!EG(exception) && prop_info && prop_info != ZEND_WRONG_PROPERTY_INFO in ZEND_FETCH_OBJ_R_SPEC_UNUSED_CV_HANDLER() 41831 if (!EG(exception) && prop_info && prop_info != ZEND_WRONG_PROPERTY_INFO in ZEND_FETCH_OBJ_R_SPEC_CV_CONST_INLINE_HANDLER() [all …]
|
H A D | zend_vm_def.h | 1016 zend_property_info *prop_info; variable 1111 zend_property_info *prop_info; variable 1290 zend_property_info *prop_info; variable 1363 zend_property_info *prop_info; variable 1433 zend_property_info *prop_info; variable 1443 ZEND_TYPE_IS_SET(prop_info->type) ? prop_info : NULL OPLINE_CC EXECUTE_DATA_CC); 1459 zend_property_info *prop_info; variable 1469 ZEND_TYPE_IS_SET(prop_info->type) ? prop_info : NULL OPLINE_CC EXECUTE_DATA_CC); 2141 if (!EG(exception) && prop_info && prop_info != ZEND_WRONG_PROPERTY_INFO 2523 zend_property_info *prop_info; variable [all …]
|
H A D | zend_API.c | 1416 if (ZEND_TYPE_IS_SET(prop_info->type)) { in update_property() 1433 return zval_update_constant_ex(val, prop_info->ce); in update_property() 1557 zend_property_info *prop_info; in zend_update_class_constants() local 1563 prop_info = class_type->properties_info_table[i]; in zend_update_class_constants() 1565 && UNEXPECTED(update_property(val, prop_info) != SUCCESS)) { in zend_update_class_constants() 1572 if (prop_info->flags & ZEND_ACC_STATIC) { in zend_update_class_constants() 1573 val = static_members_table + prop_info->offset; in zend_update_class_constants() 1575 && UNEXPECTED(update_property(val, prop_info) != SUCCESS)) { in zend_update_class_constants() 4873 zend_property_info *prop_info; in zend_update_static_property_ex() local 4892 if (ZEND_TYPE_IS_SET(prop_info->type)) { in zend_update_static_property_ex() [all …]
|
H A D | zend_object_handlers.h | 206 …end_class_entry *ce, zend_string *property_name, int type, struct _zend_property_info **prop_info);
|
H A D | zend_execute.h | 75 …ASTCALL zend_verify_prop_assignable_by_ref_ex(const zend_property_info *prop_info, zval *orig_val,… 76 ZEND_API bool ZEND_FASTCALL zend_verify_prop_assignable_by_ref(const zend_property_info *prop_info,…
|
H A D | zend_inheritance.c | 2971 zend_property_info *prop_info, *new_prop_info; in zend_lazy_class_load() local 2973 prop_info = Z_PTR(p->val); in zend_lazy_class_load() 2974 ZEND_ASSERT(prop_info->ce == pce); in zend_lazy_class_load() 2977 memcpy(new_prop_info, prop_info, sizeof(zend_property_info)); in zend_lazy_class_load()
|
/PHP-8.3/ext/opcache/jit/ |
H A D | zend_jit_helpers.c | 2010 if (!prop_info) { in zend_handle_fetch_obj_flags() 2012 if (!prop_info) { in zend_handle_fetch_obj_flags() 2025 if (!prop_info) { in zend_handle_fetch_obj_flags() 2027 if (!prop_info) { in zend_handle_fetch_obj_flags() 2087 if (!prop_info) { in zend_jit_fetch_obj_w_slow() 2652 zend_property_info *prop_info; in zend_jit_assign_obj_op_helper() local 2678 if (UNEXPECTED(prop_info)) { in zend_jit_assign_obj_op_helper() 2897 if (UNEXPECTED(prop_info)) { in zend_jit_pre_inc_obj_helper() 2967 if (UNEXPECTED(prop_info)) { in zend_jit_pre_dec_obj_helper() 3035 if (UNEXPECTED(prop_info)) { in zend_jit_post_inc_obj_helper() [all …]
|
H A D | zend_jit_vm_helpers.c | 851 zend_property_info *prop_info; local 862 prop_info = zend_get_property_info(Z_OBJCE_P(obj), prop_name, 1); 863 if (prop_info 864 && prop_info != ZEND_WRONG_PROPERTY_INFO 865 && !(prop_info->flags & ZEND_ACC_STATIC)) { 866 val = OBJ_PROP(Z_OBJ_P(obj), prop_info->offset);
|
H A D | zend_jit_x86.dasc | 12967 if (prop_info) { 12991 if (!prop_info) { 13346 if (!prop_info 13384 && prop_info 13486 if (prop_info) { 13520 if (!prop_info) { 13612 if (!prop_info || !ZEND_TYPE_IS_SET(prop_info->type)) { 13768 && prop_info 13959 if (prop_info) { 14098 if (!prop_info || !ZEND_TYPE_IS_SET(prop_info->type)) { [all …]
|
H A D | zend_jit_arm64.dasc | 12198 if (prop_info) { 12222 if (!prop_info) { 12566 if (!prop_info 12604 && prop_info 12706 if (prop_info) { 12740 if (!prop_info) { 12829 if (!prop_info || !ZEND_TYPE_IS_SET(prop_info->type)) { 12966 && prop_info 13140 if (prop_info) { 13266 if (!prop_info || !ZEND_TYPE_IS_SET(prop_info->type)) { [all …]
|
/PHP-8.3/ext/standard/ |
H A D | var.c | 78 ZEND_ASSERT(ZEND_TYPE_IS_SET(prop_info->type)); in php_object_property_dump() 175 zend_property_info *prop_info = NULL; in php_var_dump() local 184 if (!Z_ISUNDEF_P(val) || prop_info) { in php_var_dump() 268 if (prop_info && Z_TYPE_P(zv) == IS_UNDEF) { in zval_object_property_dump() 365 zend_property_info *prop_info = NULL; in php_debug_zval_dump() local 374 if (!Z_ISUNDEF_P(val) || prop_info) { in php_debug_zval_dump() 1207 zend_property_info *prop_info; in php_var_serialize_intern() local 1214 if (!prop_info) { in php_var_serialize_intern() 1218 prop = OBJ_PROP(obj, prop_info->offset); in php_var_serialize_intern() 1229 if (!prop_info) { in php_var_serialize_intern() [all …]
|
H A D | array.c | 1432 zend_property_info *prop_info = in php_array_walk() local 1434 if (prop_info) { in php_array_walk() 1436 ZEND_REF_ADD_TYPE_SOURCE(Z_REF_P(zv), prop_info); in php_array_walk()
|
/PHP-8.3/ext/json/ |
H A D | json_encoder.c | 145 zend_property_info *prop_info; in php_json_encode_array() local 162 prop_info = ce->properties_info_table[i]; in php_json_encode_array() 163 if (!prop_info) { in php_json_encode_array() 166 if (ZSTR_VAL(prop_info->name)[0] == '\0' && ZSTR_LEN(prop_info->name) > 0) { in php_json_encode_array() 170 prop = OBJ_PROP(obj, prop_info->offset); in php_json_encode_array() 184 if (php_json_escape_string(buf, ZSTR_VAL(prop_info->name), ZSTR_LEN(prop_info->name), in php_json_encode_array()
|
/PHP-8.3/Zend/tests/type_declarations/ |
H A D | typed_properties_088.phpt | 2 Check for correct invalidation of prop_info cache slots
|
/PHP-8.3/Zend/Optimizer/ |
H A D | zend_inference.c | 2417 if (prop_info && prop_info != ZEND_WRONG_PROPERTY_INFO) { in lookup_prop_info() 2418 return prop_info; in lookup_prop_info() 2425 if (prop_info && in lookup_prop_info() 2429 return prop_info; in lookup_prop_info() 2449 if (prop_info && (prop_info->flags & ZEND_ACC_STATIC)) { in zend_fetch_prop_info() 2450 prop_info = NULL; in zend_fetch_prop_info() 2454 return prop_info; in zend_fetch_prop_info() 2485 if (prop_info && !(prop_info->flags & ZEND_ACC_STATIC)) { in zend_fetch_static_prop_info() 2490 return prop_info; in zend_fetch_static_prop_info() 2495 if (!prop_info) { in zend_fetch_prop_type() [all …]
|
/PHP-8.3/ext/reflection/ |
H A D | php_reflection.c | 4082 zend_property_info *prop_info; in add_class_vars() local 4088 prop_info->ce != ce)) { in add_class_vars() 4124 zend_property_info *prop_info; in ZEND_METHOD() local 4146 prop_info->ce != ce)) { in ZEND_METHOD() 4210 zend_property_info *prop_info; in ZEND_METHOD() local 4243 if (ZEND_TYPE_IS_SET(prop_info->type) && !zend_verify_property_type(prop_info, value, 0)) { in ZEND_METHOD() 4701 zend_property_info *prop_info; in ZEND_METHOD() local 5932 prop_info = ref->prop; in ZEND_METHOD() 5934 if (prop_info == NULL) { in ZEND_METHOD() 5957 prop_info = ref->prop; in ZEND_METHOD() [all …]
|
/PHP-8.3/ext/spl/ |
H A D | spl_array.c | 992 zend_property_info *prop_info = zend_get_property_info(ce, key, true); in spl_array_it_get_current_data() local 993 ZEND_ASSERT(prop_info != ZEND_WRONG_PROPERTY_INFO); in spl_array_it_get_current_data() 994 if (EXPECTED(prop_info != NULL) && ZEND_TYPE_IS_SET(prop_info->type)) { in spl_array_it_get_current_data() 995 if (prop_info->flags & ZEND_ACC_READONLY) { in spl_array_it_get_current_data() 998 ZSTR_VAL(prop_info->ce->name), ZSTR_VAL(key)); in spl_array_it_get_current_data() 1002 ZEND_REF_ADD_TYPE_SOURCE(Z_REF_P(data), prop_info); in spl_array_it_get_current_data()
|
/PHP-8.3/ext/zend_test/ |
H A D | test.c | 1238 …zend_property_info *prop_info = zend_hash_str_find_ptr(&zend_test_class_with_property_attribute->p… in PHP_MINIT_FUNCTION() local 1239 …zend_add_property_attribute(zend_test_class_with_property_attribute, prop_info, zend_test_attribut… in PHP_MINIT_FUNCTION()
|
/PHP-8.3/ext/opcache/ |
H A D | zend_persist.c | 969 zend_property_info *prop_info = zend_shared_alloc_get_xlat_entry( in zend_persist_class_entry() local 971 if (prop_info) { in zend_persist_class_entry() 972 ce->properties_info_table[i] = prop_info; in zend_persist_class_entry()
|