Home
last modified time | relevance | path

Searched refs:prop_info (Results 1 – 24 of 24) sorted by relevance

/PHP-8.1/Zend/
H A Dzend_object_handlers.c74 if (!prop_info) { in rebuild_object_properties()
105 if (!prop_info) { in zend_std_build_object_properties_array()
258 return prop_info; in zend_get_parent_private_property()
592 if (prop_info && UNEXPECTED(prop_info->flags & ZEND_ACC_READONLY) in zend_std_read_property()
607 if (prop_info && UNEXPECTED(prop_info->flags & ZEND_ACC_READONLY)) { in zend_std_read_property()
768 if (prop_info) { in verify_readonly_initialization_access()
1040 } else if (!prop_info || !ZEND_TYPE_IS_SET(prop_info->type)) { in zend_std_get_property_ptr_ptr()
1047 } else if (prop_info && UNEXPECTED(prop_info->flags & ZEND_ACC_READONLY)) { in zend_std_get_property_ptr_ptr()
1098 if (UNEXPECTED(prop_info && (prop_info->flags & ZEND_ACC_READONLY))) { in zend_std_unset_property()
1104 if (prop_info) { in zend_std_unset_property()
[all …]
H A Dzend_objects_API.h108 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 Dzend_objects.c65 zend_property_info *prop_info = zend_get_property_info_for_slot(object, p); in zend_object_std_dtor() local
66 if (ZEND_TYPE_IS_SET(prop_info->type)) { in zend_object_std_dtor()
67 ZEND_REF_DEL_TYPE_SOURCE(Z_REF_P(p), prop_info); in zend_object_std_dtor()
206 zend_property_info *prop_info = zend_get_property_info_for_slot(new_object, dst); in zend_objects_clone_members() local
207 if (ZEND_TYPE_IS_SET(prop_info->type)) { in zend_objects_clone_members()
208 ZEND_REF_ADD_TYPE_SOURCE(Z_REF_P(dst), prop_info); in zend_objects_clone_members()
H A Dzend_opcode.c182 zend_property_info *prop_info; in zend_cleanup_internal_class_data() local
184 if (prop_info->ce == ce && p - static_members == prop_info->offset) { in zend_cleanup_internal_class_data()
284 zend_property_info *prop_info; in destroy_zend_class() local
374 if (prop_info->ce == ce) { in destroy_zend_class()
375 zend_string_release_ex(prop_info->name, 0); in destroy_zend_class()
376 if (prop_info->doc_comment) { in destroy_zend_class()
379 if (prop_info->attributes) { in destroy_zend_class()
380 zend_hash_release(prop_info->attributes); in destroy_zend_class()
433 if (prop_info->ce == ce) { in destroy_zend_class()
434 zend_string_release(prop_info->name); in destroy_zend_class()
[all …]
H A Dzend_execute.c1209 if (prop_info && prop_info != ZEND_WRONG_PROPERTY_INFO && ZEND_TYPE_IS_SET(prop_info->type)) { in zend_verify_internal_read_property_type()
1996 if (UNEXPECTED(prop_info)) { in zend_post_incdec_property_zval()
3051 if (!prop_info) { in zend_handle_fetch_obj_flags()
3053 if (!prop_info) { in zend_handle_fetch_obj_flags()
3066 if (!prop_info) { in zend_handle_fetch_obj_flags()
3068 if (!prop_info) { in zend_handle_fetch_obj_flags()
3131 if (prop_info) { in zend_fetch_property_address()
3195 if (prop_info) { in zend_fetch_property_address()
3349 *prop_info = property_info; in zend_fetch_static_property_address_ex()
3388 if (prop_info) { in zend_fetch_static_property_address()
[all …]
H A Dzend_builtin_functions.c667 zend_property_info *prop_info; in add_class_vars() local
672 ZEND_HASH_FOREACH_STR_KEY_PTR(&ce->properties_info, key, prop_info) { in add_class_vars()
673 if (((prop_info->flags & ZEND_ACC_PROTECTED) && in add_class_vars()
674 !zend_check_protected(prop_info->ce, scope)) || in add_class_vars()
675 ((prop_info->flags & ZEND_ACC_PRIVATE) && in add_class_vars()
676 prop_info->ce != scope)) { in add_class_vars()
680 if (statics && (prop_info->flags & ZEND_ACC_STATIC) != 0) { in add_class_vars()
681 prop = &ce->default_static_members_table[prop_info->offset]; in add_class_vars()
683 } else if (!statics && (prop_info->flags & ZEND_ACC_STATIC) == 0) { in add_class_vars()
684 prop = &default_properties_table[OBJ_PROP_TO_NUM(prop_info->offset)]; in add_class_vars()
H A Dzend_vm_def.h1013 zend_property_info *prop_info; variable
1074 if (UNEXPECTED(prop_info)) {
1108 zend_property_info *prop_info; variable
1287 zend_property_info *prop_info; variable
1360 zend_property_info *prop_info; variable
1430 zend_property_info *prop_info; variable
1440 ZEND_TYPE_IS_SET(prop_info->type) ? prop_info : NULL OPLINE_CC EXECUTE_DATA_CC);
1456 zend_property_info *prop_info; variable
1466 ZEND_TYPE_IS_SET(prop_info->type) ? prop_info : NULL OPLINE_CC EXECUTE_DATA_CC);
2509 zend_property_info *prop_info; variable
[all …]
H A Dzend_vm_execute.h762 zend_property_info *prop_info; in ZEND_ASSIGN_STATIC_PROP_OP_SPEC_HANDLER() local
806 zend_property_info *prop_info; in ZEND_PRE_INC_STATIC_PROP_SPEC_HANDLER() local
816 ZEND_TYPE_IS_SET(prop_info->type) ? prop_info : NULL OPLINE_CC EXECUTE_DATA_CC); in ZEND_PRE_INC_STATIC_PROP_SPEC_HANDLER()
826 zend_property_info *prop_info; in ZEND_POST_INC_STATIC_PROP_SPEC_HANDLER() local
836 ZEND_TYPE_IS_SET(prop_info->type) ? prop_info : NULL OPLINE_CC EXECUTE_DATA_CC); in ZEND_POST_INC_STATIC_PROP_SPEC_HANDLER()
929 zend_property_info *prop_info; in ZEND_ASSIGN_STATIC_PROP_SPEC_OP_DATA_CONST_HANDLER() local
960 zend_property_info *prop_info; in ZEND_ASSIGN_STATIC_PROP_SPEC_OP_DATA_TMP_HANDLER() local
991 zend_property_info *prop_info; in ZEND_ASSIGN_STATIC_PROP_SPEC_OP_DATA_VAR_HANDLER() local
1022 zend_property_info *prop_info; in ZEND_ASSIGN_STATIC_PROP_SPEC_OP_DATA_CV_HANDLER() local
1053 zend_property_info *prop_info; in ZEND_ASSIGN_STATIC_PROP_REF_SPEC_HANDLER() local
[all …]
H A Dzend_API.c1354 if (ZEND_TYPE_IS_SET(prop_info->type)) { in update_property()
1371 return zval_update_constant_ex(val, prop_info->ce); in update_property()
1467 zend_property_info *prop_info; in zend_update_class_constants() local
1473 prop_info = class_type->properties_info_table[i]; in zend_update_class_constants()
1475 && UNEXPECTED(update_property(val, prop_info) != SUCCESS)) { in zend_update_class_constants()
1481 ZEND_HASH_FOREACH_PTR(&class_type->properties_info, prop_info) { in zend_update_class_constants()
1482 if (prop_info->flags & ZEND_ACC_STATIC) { in zend_update_class_constants()
1483 val = static_members_table + prop_info->offset; in zend_update_class_constants()
1485 && UNEXPECTED(update_property(val, prop_info) != SUCCESS)) { in zend_update_class_constants()
4635 zend_property_info *prop_info; in zend_update_static_property_ex() local
[all …]
H A Dzend_object_handlers.h204 …end_class_entry *ce, zend_string *property_name, int type, struct _zend_property_info **prop_info);
H A Dzend_execute.h68 ZEND_API bool ZEND_FASTCALL zend_verify_prop_assignable_by_ref(zend_property_info *prop_info, zval …
H A Dzend_inheritance.c2643 zend_property_info *prop_info, *new_prop_info; in zend_lazy_class_load() local
2645 prop_info = Z_PTR(p->val); in zend_lazy_class_load()
2646 ZEND_ASSERT(prop_info->ce == pce); in zend_lazy_class_load()
2649 memcpy(new_prop_info, prop_info, sizeof(zend_property_info)); in zend_lazy_class_load()
/PHP-8.1/ext/opcache/jit/
H A Dzend_jit_helpers.c2002 if (!prop_info) { in zend_handle_fetch_obj_flags()
2004 if (!prop_info) { in zend_handle_fetch_obj_flags()
2017 if (!prop_info) { in zend_handle_fetch_obj_flags()
2019 if (!prop_info) { in zend_handle_fetch_obj_flags()
2079 if (!prop_info) { in zend_jit_fetch_obj_w_slow()
2592 zend_property_info *prop_info; in zend_jit_assign_obj_op_helper() local
2618 if (UNEXPECTED(prop_info)) { in zend_jit_assign_obj_op_helper()
2823 if (UNEXPECTED(prop_info)) { in zend_jit_pre_inc_obj_helper()
2893 if (UNEXPECTED(prop_info)) { in zend_jit_pre_dec_obj_helper()
2961 if (UNEXPECTED(prop_info)) { in zend_jit_post_inc_obj_helper()
[all …]
H A Dzend_jit_vm_helpers.c804 zend_property_info *prop_info; local
815 prop_info = zend_get_property_info(Z_OBJCE_P(obj), prop_name, 1);
816 if (prop_info
817 && prop_info != ZEND_WRONG_PROPERTY_INFO
818 && !(prop_info->flags & ZEND_ACC_STATIC)) {
819 val = OBJ_PROP(Z_OBJ_P(obj), prop_info->offset);
H A Dzend_jit_x86.dasc13096 if (prop_info) {
13120 if (!prop_info) {
13456 if (!prop_info
13494 && prop_info
13596 if (prop_info) {
13630 if (!prop_info) {
13722 if (!prop_info || !ZEND_TYPE_IS_SET(prop_info->type)) {
13878 && prop_info
14069 if (prop_info) {
14208 if (!prop_info || !ZEND_TYPE_IS_SET(prop_info->type)) {
[all …]
H A Dzend_jit_arm64.dasc12321 if (prop_info) {
12345 if (!prop_info) {
12670 if (!prop_info
12708 && prop_info
12810 if (prop_info) {
12844 if (!prop_info) {
12933 if (!prop_info || !ZEND_TYPE_IS_SET(prop_info->type)) {
13070 && prop_info
13244 if (prop_info) {
13370 if (!prop_info || !ZEND_TYPE_IS_SET(prop_info->type)) {
[all …]
/PHP-8.1/ext/standard/
H A Dvar.c78 ZEND_ASSERT(ZEND_TYPE_IS_SET(prop_info->type)); in php_object_property_dump()
174 zend_property_info *prop_info = NULL; in php_var_dump() local
183 if (!Z_ISUNDEF_P(val) || prop_info) { in php_var_dump()
267 if (prop_info && Z_TYPE_P(zv) == IS_UNDEF) { in zval_object_property_dump()
360 zend_property_info *prop_info = NULL; in php_debug_zval_dump() local
369 if (!Z_ISUNDEF_P(val) || prop_info) { in php_debug_zval_dump()
1198 zend_property_info *prop_info; in php_var_serialize_intern() local
1205 if (!prop_info) { in php_var_serialize_intern()
1209 prop = OBJ_PROP(obj, prop_info->offset); in php_var_serialize_intern()
1220 if (!prop_info) { in php_var_serialize_intern()
[all …]
H A Darray.c1393 zend_property_info *prop_info = in php_array_walk() local
1395 if (prop_info) { in php_array_walk()
1397 ZEND_REF_ADD_TYPE_SOURCE(Z_REF_P(zv), prop_info); in php_array_walk()
/PHP-8.1/ext/json/
H A Djson_encoder.c121 zend_property_info *prop_info; in php_json_encode_array() local
138 prop_info = ce->properties_info_table[i]; in php_json_encode_array()
139 if (!prop_info) { in php_json_encode_array()
142 if (ZSTR_VAL(prop_info->name)[0] == '\0' && ZSTR_LEN(prop_info->name) > 0) { in php_json_encode_array()
146 prop = OBJ_PROP(obj, prop_info->offset); in php_json_encode_array()
160 if (php_json_escape_string(buf, ZSTR_VAL(prop_info->name), ZSTR_LEN(prop_info->name), in php_json_encode_array()
/PHP-8.1/Zend/tests/type_declarations/
H A Dtyped_properties_088.phpt2 Check for correct invalidation of prop_info cache slots
/PHP-8.1/Zend/Optimizer/
H A Dzend_inference.c2396 if (prop_info && prop_info != ZEND_WRONG_PROPERTY_INFO) { in lookup_prop_info()
2397 return prop_info; in lookup_prop_info()
2404 if (prop_info && in lookup_prop_info()
2408 return prop_info; in lookup_prop_info()
2428 if (prop_info && (prop_info->flags & ZEND_ACC_STATIC)) { in zend_fetch_prop_info()
2429 prop_info = NULL; in zend_fetch_prop_info()
2433 return prop_info; in zend_fetch_prop_info()
2464 if (prop_info && !(prop_info->flags & ZEND_ACC_STATIC)) { in zend_fetch_static_prop_info()
2469 return prop_info; in zend_fetch_static_prop_info()
2474 if (!prop_info) { in zend_fetch_prop_type()
[all …]
/PHP-8.1/ext/reflection/
H A Dphp_reflection.c3990 zend_property_info *prop_info; in add_class_vars() local
3996 prop_info->ce != ce)) { in add_class_vars()
4032 zend_property_info *prop_info; in ZEND_METHOD() local
4054 prop_info->ce != ce)) { in ZEND_METHOD()
4118 zend_property_info *prop_info; in ZEND_METHOD() local
4151 if (ZEND_TYPE_IS_SET(prop_info->type) && !zend_verify_property_type(prop_info, value, 0)) { in ZEND_METHOD()
4609 zend_property_info *prop_info; in ZEND_METHOD() local
5812 prop_info = ref->prop; in ZEND_METHOD()
5814 if (prop_info == NULL) { in ZEND_METHOD()
5837 prop_info = ref->prop; in ZEND_METHOD()
[all …]
/PHP-8.1/ext/spl/
H A Dspl_array.c1039 zend_property_info *prop_info = zend_get_property_info(ce, key, true); in spl_array_it_get_current_data() local
1040 ZEND_ASSERT(prop_info != ZEND_WRONG_PROPERTY_INFO); in spl_array_it_get_current_data()
1041 if (EXPECTED(prop_info != NULL) && ZEND_TYPE_IS_SET(prop_info->type)) { in spl_array_it_get_current_data()
1042 if (prop_info->flags & ZEND_ACC_READONLY) { in spl_array_it_get_current_data()
1045 ZSTR_VAL(prop_info->ce->name), ZSTR_VAL(key)); in spl_array_it_get_current_data()
1049 ZEND_REF_ADD_TYPE_SOURCE(Z_REF_P(data), prop_info); in spl_array_it_get_current_data()
/PHP-8.1/ext/opcache/
H A Dzend_persist.c957 zend_property_info *prop_info = zend_shared_alloc_get_xlat_entry( in zend_persist_class_entry() local
959 if (prop_info) { in zend_persist_class_entry()
960 ce->properties_info_table[i] = prop_info; in zend_persist_class_entry()

Completed in 345 milliseconds