/php-src/ext/standard/ |
H A D | http.c | 115 const char *prop_name; in php_url_encode_hash_ex() local 146 prop_name = ZSTR_VAL(key); in php_url_encode_hash_ex() 156 zend_unmangle_property_name_ex(key, &tmp, &prop_name, &prop_len); in php_url_encode_hash_ex() 158 prop_name = ZSTR_VAL(key); in php_url_encode_hash_ex() 162 prop_name = NULL; in php_url_encode_hash_ex() 174 encoded_key = php_raw_url_encode(prop_name, prop_len); in php_url_encode_hash_ex() 176 encoded_key = php_url_encode(prop_name, prop_len); in php_url_encode_hash_ex() 220 prop_name, prop_len, in php_url_encode_hash_ex()
|
H A D | var.c | 57 const char *prop_name, *class_name; in php_object_property_dump() local 62 int unmangle = zend_unmangle_property_name(key, &class_name, &prop_name); in php_object_property_dump() 67 php_printf("\"%s\":protected", prop_name); in php_object_property_dump() 69 php_printf("\"%s\":\"%s\":private", prop_name, class_name); in php_object_property_dump() 265 const char *prop_name, *class_name; in zval_object_property_dump() local 270 zend_unmangle_property_name(key, &class_name, &prop_name); in zval_object_property_dump() 275 php_printf("\"%s\":protected", prop_name); in zval_object_property_dump() 277 php_printf("\"%s\":\"%s\":private", prop_name, class_name); in zval_object_property_dump() 280 php_printf("\"%s\"", prop_name); in zval_object_property_dump() 487 const char *class_name, *prop_name; in php_object_element_export() local [all …]
|
/php-src/Zend/ |
H A D | zend_inheritance.h | 55 …_variance_error_ex(zend_string *value_param_name, zend_string *class_name, zend_string *prop_name); 56 …erify_hooked_property(zend_class_entry *ce, zend_property_info *prop_info, zend_string *prop_name);
|
H A D | zend_object_handlers.c | 228 ZVAL_STR(&member, prop_name); in zend_std_call_getter() 236 ZVAL_STR(&args[0], prop_name); in zend_std_call_setter() 245 ZVAL_STR(&member, prop_name); in zend_std_call_unsetter() 253 ZVAL_STR(&member, prop_name); in zend_std_call_issetter() 529 const char *prop_name; in zend_check_property_access() local 539 member = zend_string_init(prop_name, prop_name_len, 0); in zend_check_property_access() 685 ZSTR_VAL(class_name), ZSTR_VAL(prop_name)); in zend_throw_no_prop_backing_value_access() 689 const zend_property_info *prop_info, zend_string *prop_name, in zend_call_get_hook() argument 1703 zend_property_hook_kind kind, zend_string *prop_name) in zend_get_property_hook_trampoline() argument 1718 "$", 1, ZSTR_VAL(prop_name), ZSTR_LEN(prop_name), in zend_get_property_hook_trampoline() [all …]
|
H A D | zend_property_hooks.c | 105 zend_string *prop_name; in zho_build_properties_ex() local 107 …ZEND_HASH_FOREACH_STR_KEY_VAL_FROM(zobj->properties, prop_name, prop_value, zho_num_backed_props(z… in zho_build_properties_ex() 108 Z_TRY_ADDREF_P(_zend_hash_append(properties, prop_name, prop_value)); in zho_build_properties_ex()
|
H A D | zend_compile.h | 962 #define zend_unmangle_property_name(mangled_property, class_name, prop_name) \ argument 963 zend_unmangle_property_name_ex(mangled_property, class_name, prop_name, NULL) 964 …_name_ex(const zend_string *name, const char **class_name, const char **prop_name, size_t *prop_le… 967 const char *class_name, *prop_name; in zend_get_unmangled_property_name() local 968 zend_unmangle_property_name(mangled_prop, &class_name, &prop_name); in zend_get_unmangled_property_name() 969 return prop_name; in zend_get_unmangled_property_name()
|
H A D | zend_inheritance.c | 1698 ZSTR_VAL(ce->name), ZSTR_VAL(prop_name)); in zend_verify_hooked_property() 1716 prefix, ZSTR_VAL(ce->name), ZSTR_VAL(prop_name)); in zend_verify_hooked_property() 2785 && zend_hash_exists(&traits[i]->properties_info, prop_name)) { in find_first_property_definition() 2801 zend_string* prop_name; in zend_do_traits_property_binding() local 2814 ZEND_HASH_MAP_FOREACH_STR_KEY_PTR(&traits[i]->properties_info, prop_name, property_info) { in zend_do_traits_property_binding() 2818 if ((colliding_prop = zend_hash_find_ptr(&ce->properties_info, prop_name)) != NULL) { in zend_do_traits_property_binding() 2820 zend_hash_del(&ce->properties_info, prop_name); in zend_do_traits_property_binding() 2831 ZSTR_VAL(prop_name), in zend_do_traits_property_binding() 2858 ZSTR_VAL(prop_name), in zend_do_traits_property_binding() 2872 ZSTR_VAL(prop_name) in zend_do_traits_property_binding() [all …]
|
H A D | zend_object_handlers.h | 331 zend_property_hook_kind kind, zend_string *prop_name);
|
H A D | zend_compile.c | 1568 ZSTR_VAL(prop_name)[0] = '\0'; in zend_mangle_property_name() local 1569 memcpy(ZSTR_VAL(prop_name) + 1, src1, src1_length+1); in zend_mangle_property_name() 1571 return prop_name; in zend_mangle_property_name() 1583 *prop_name = ZSTR_VAL(name); in zend_unmangle_property_name_ex() 1591 *prop_name = ZSTR_VAL(name); in zend_unmangle_property_name_ex() 1601 *prop_name = ZSTR_VAL(name); in zend_unmangle_property_name_ex() 1613 *prop_name = ZSTR_VAL(name) + class_name_len + 2; in zend_unmangle_property_name_ex() 5058 if (ZSTR_VAL(prop_name)[0] != '\0') { in zend_copy_unmangled_prop_name() local 5059 return zend_string_copy(prop_name); in zend_copy_unmangled_prop_name() 7464 zend_property_info *prop_info, zend_string *prop_name, [all …]
|
H A D | zend.c | 398 const char *prop_name, *class_name; in print_hash() local 400 int mangled = zend_unmangle_property_name_ex(string_key, &class_name, &prop_name, &prop_len); in print_hash() 402 smart_str_appendl(buf, prop_name, prop_len); in print_hash()
|
H A D | zend_builtin_functions.c | 859 const char *prop_name, *class_name; in ZEND_FUNCTION() local 861 zend_unmangle_property_name_ex(key, &class_name, &prop_name, &prop_len); in ZEND_FUNCTION() 867 zend_hash_str_add_new(Z_ARRVAL_P(return_value), prop_name, prop_len, value); in ZEND_FUNCTION()
|
H A D | zend_execute.h | 87 …STCALL zend_readonly_property_modification_error_ex(const char *class_name, const char *prop_name);
|
H A D | zend_API.c | 1733 const char *class_name, *prop_name; in object_properties_load() local 1735 if (zend_unmangle_property_name_ex(key, &class_name, &prop_name, &prop_name_len) == SUCCESS) { in object_properties_load() 1736 zend_string *pname = zend_string_init(prop_name, prop_name_len, 0); in object_properties_load()
|
H A D | zend_vm_def.h | 7050 const char *class_name, *prop_name; in ZEND_VM_HELPER() local 7053 p->key, &class_name, &prop_name, &prop_name_len); in ZEND_VM_HELPER() 7054 ZVAL_STRINGL(EX_VAR(opline->result.var), prop_name, prop_name_len); in ZEND_VM_HELPER() 7315 const char *class_name, *prop_name; variable 7318 p->key, &class_name, &prop_name, &prop_name_len); 7319 ZVAL_STRINGL(EX_VAR(opline->result.var), prop_name, prop_name_len);
|
H A D | zend_execute.c | 897 const char *class_name, const char *prop_name) { in zend_readonly_property_modification_error_ex() argument 898 zend_throw_error(NULL, "Cannot modify readonly property %s::$%s", class_name, prop_name); in zend_readonly_property_modification_error_ex()
|
/php-src/ext/xsl/ |
H A D | php_xsl.c | 133 zend_string *prop_name = ZSTR_INIT_LITERAL(php_name, false); \ 134 …d_property_info *prop_info = zend_get_property_info(xsl_xsltprocessor_class_entry, prop_name, 0); \ 135 zend_string_release_ex(prop_name, false); \
|
/php-src/ext/reflection/ |
H A D | php_reflection.c | 481 zend_string *prop_name; in _class_string() local 487 …if (prop_name && ZSTR_LEN(prop_name) && ZSTR_VAL(prop_name)[0]) { /* skip all private and protecte… in _class_string() 969 if (!prop_name) { in _property_string() 1357 zval *prop_name; in reflection_parameter_factory() local 1373 prop_name = reflection_prop_name(object); in reflection_parameter_factory() 2390 zval *prop_name; in ZEND_METHOD() local 2558 zval_ptr_dtor(prop_name); in ZEND_METHOD() 5625 zval_ptr_dtor(prop_name); in ZEND_METHOD() 5626 ZVAL_STR_COPY(prop_name, name); in ZEND_METHOD() 6460 zval_ptr_dtor(prop_name); in ZEND_METHOD() [all …]
|
/php-src/ext/date/ |
H A D | php_date.c | 590 const char *class_name, *prop_name; in update_property() local 2965 zend_string *prop_name; in restore_custom_datetime_properties() local 2969 …if (!prop_name || (Z_TYPE_P(prop_val) == IS_REFERENCE) || date_time_is_internal_property(prop_name… in restore_custom_datetime_properties() 2972 update_property(Z_OBJ_P(object), prop_name, prop_val); in restore_custom_datetime_properties() 4166 zend_string *prop_name; in restore_custom_datetimezone_properties() local 4170 …if (!prop_name || (Z_TYPE_P(prop_val) == IS_REFERENCE) || date_timezone_is_internal_property(prop_… in restore_custom_datetimezone_properties() 4173 update_property(Z_OBJ_P(object), prop_name, prop_val); in restore_custom_datetimezone_properties() 4801 zend_string *prop_name; in restore_custom_dateinterval_properties() local 4805 …if (!prop_name || (Z_TYPE_P(prop_val) == IS_REFERENCE) || date_interval_is_internal_property(prop_… in restore_custom_dateinterval_properties() 5891 zend_string *prop_name; in restore_custom_dateperiod_properties() local [all …]
|
/php-src/Zend/Optimizer/ |
H A D | compact_literals.c | 99 zval *prop_name = &op_array->literals[op2]; in add_static_slot() local 102 zend_string *key = zend_create_member_string(Z_STR_P(class_name), Z_STR_P(prop_name)); in add_static_slot()
|
H A D | zend_optimizer.c | 1003 zend_string *prop_name = Z_STR_P(CRT_CONSTANT(opline->op1)); in zend_optimizer_get_called_func() local 1005 …zend_property_info *prop_info = zend_get_property_info(parent_scope, prop_name, /* silent */ true); in zend_optimizer_get_called_func()
|
H A D | zend_inference.c | 5220 zend_string *prop_name = Z_STR_P(CRT_CONSTANT(opline->op2)); in zend_may_throw_ex() local 5221 if (ZSTR_LEN(prop_name) > 0 && ZSTR_VAL(prop_name)[0] == '\0') { in zend_may_throw_ex() 5226 zend_hash_find_ptr(&ce->properties_info, prop_name); in zend_may_throw_ex()
|
/php-src/ext/zend_test/ |
H A D | test.c | 1184 zend_string *prop_name = zend_string_init_interned("dnfProperty", sizeof("dnfProperty") - 1, true); in register_ZendTestClass_dnf_property() local 1188 zend_declare_typed_property(ce, prop_name, &default_value, ZEND_ACC_PUBLIC, NULL, type); in register_ZendTestClass_dnf_property()
|
/php-src/ext/opcache/jit/ |
H A D | zend_jit_vm_helpers.c | 878 zend_string *prop_name = Z_STR_P(RT_CONSTANT(opline, opline->op2)); local 890 prop_info = zend_get_property_info(Z_OBJCE_P(obj), prop_name, 1);
|
H A D | zend_jit_ir.c | 15862 zend_string *prop_name; local 15865 prop_name = Z_STR_P(zv); 15866 zv = zend_hash_find(&ce->properties_info, prop_name);
|
/php-src/ext/soap/ |
H A D | php_encoding.c | 2003 const char *prop_name; in to_xml_object() local 2008 zend_unmangle_property_name(str_key, &class_name, &prop_name); in to_xml_object() 2010 prop_name = ZSTR_VAL(str_key); in to_xml_object() 2012 if (prop_name) { in to_xml_object() 2013 xmlNodeSetName(property, BAD_CAST(prop_name)); in to_xml_object()
|