Home
last modified time | relevance | path

Searched refs:property_name (Results 1 – 14 of 14) sorted by relevance

/php-src/Zend/
H A Dzend_ini.h178 #define STD_ZEND_INI_ENTRY(name, default_value, modifiable, on_modify, property_name, struct_type, … argument
179 …efault_value, modifiable, on_modify, (void *) XtOffsetOf(struct_type, property_name), (void *) &st…
180 #define STD_ZEND_INI_ENTRY_EX(name, default_value, modifiable, on_modify, property_name, struct_typ… argument
181 …efault_value, modifiable, on_modify, (void *) XtOffsetOf(struct_type, property_name), (void *) &st…
182 #define STD_ZEND_INI_BOOLEAN(name, default_value, modifiable, on_modify, property_name, struct_type… argument
185 #define STD_ZEND_INI_ENTRY(name, default_value, modifiable, on_modify, property_name, struct_type, …
186 …efault_value, modifiable, on_modify, (void *) XtOffsetOf(struct_type, property_name), (void *) &st…
187 #define STD_ZEND_INI_ENTRY_EX(name, default_value, modifiable, on_modify, property_name, struct_typ…
188 …efault_value, modifiable, on_modify, (void *) XtOffsetOf(struct_type, property_name), (void *) &st…
189 #define STD_ZEND_INI_BOOLEAN(name, default_value, modifiable, on_modify, property_name, struct_type…
[all …]
H A Dzend_property_hooks.c71 zend_string *property_name = prop_info->name; in zho_build_properties_ex() local
74 const char *tmp = zend_get_unmangled_property_name(property_name); in zho_build_properties_ex()
78 property_name = unmangled_name; in zho_build_properties_ex()
83 if (check_access && zend_check_property_access(zobj, property_name, false) == FAILURE) { in zho_build_properties_ex()
87 zend_hash_update_ptr(properties, property_name, prop_info); in zho_build_properties_ex()
92 zval *tmp = zend_hash_lookup(properties, property_name); in zho_build_properties_ex()
96 if (property_name != prop_info->name) { in zho_build_properties_ex()
97 zend_string_release(property_name); in zho_build_properties_ex()
H A Dzend_object_handlers.h250 …_std_get_static_property_with_info(zend_class_entry *ce, zend_string *property_name, int type, str…
251 ZEND_API zval *zend_std_get_static_property(zend_class_entry *ce, zend_string *property_name, int t…
252 …PI ZEND_COLD bool zend_std_unset_static_property(zend_class_entry *ce, zend_string *property_name);
H A Dzend_language_parser.y264 %type <ast> scalar backticks_expr lexical_var function_call member_name property_name
1514 | array_object_dereferenceable T_OBJECT_OPERATOR property_name argument_list
1516 | array_object_dereferenceable T_NULLSAFE_OBJECT_OPERATOR property_name argument_list
1526 | array_object_dereferenceable T_OBJECT_OPERATOR property_name
1528 | array_object_dereferenceable T_NULLSAFE_OBJECT_OPERATOR property_name
1550 | new_variable T_OBJECT_OPERATOR property_name
1552 | new_variable T_NULLSAFE_OBJECT_OPERATOR property_name
1566 property_name:
H A Dzend_object_handlers.c1935 …_std_get_static_property_with_info(zend_class_entry *ce, zend_string *property_name, int type, zen… in zend_std_get_static_property_with_info() argument
1938 zend_property_info *property_info = zend_hash_find_ptr(&ce->properties_info, property_name); in zend_std_get_static_property_with_info()
1951 zend_bad_property_access(property_info, ce, property_name); in zend_std_get_static_property_with_info()
1961 …NULL, "Access to undeclared static property %s::$%s", ZSTR_VAL(ce->name), ZSTR_VAL(property_name)); in zend_std_get_static_property_with_info()
1983 ZSTR_VAL(property_info->ce->name), ZSTR_VAL(property_name)); in zend_std_get_static_property_with_info()
1991 ZSTR_VAL(property_info->ce->name), ZSTR_VAL(property_name)); in zend_std_get_static_property_with_info()
1998 ZEND_API zval *zend_std_get_static_property(zend_class_entry *ce, zend_string *property_name, int t… in zend_std_get_static_property() argument
2001 return zend_std_get_static_property_with_info(ce, property_name, type, &prop_info); in zend_std_get_static_property()
2004 …OLD bool zend_std_unset_static_property(zend_class_entry *ce, zend_string *property_name) /* {{{ */ in zend_std_unset_static_property() argument
2006 …ror(NULL, "Attempt to unset static property %s::$%s", ZSTR_VAL(ce->name), ZSTR_VAL(property_name)); in zend_std_unset_static_property()
H A Dzend_compile.c5097 zend_string *property_name = zend_ast_get_str(class_ast->child[1]); in zend_compile_parent_property_hook_call() local
5105 ZSTR_VAL(property_name), ZSTR_VAL(hook_name)); in zend_compile_parent_property_hook_call()
5109 if (!zend_string_equals_cstr(property_name, unmangled_prop_name, strlen(unmangled_prop_name))) { in zend_compile_parent_property_hook_call()
5111 ZSTR_VAL(property_name), ZSTR_VAL(hook_name), unmangled_prop_name); in zend_compile_parent_property_hook_call()
5121 zend_string_copy(property_name); in zend_compile_parent_property_hook_call()
5122 opline->op1.constant = zend_add_literal_string(&property_name); in zend_compile_parent_property_hook_call()
7468 zend_string *property_name; member
7491 && zend_string_equals(Z_STR_P(property), context->property_name)) { in zend_property_hook_find_property_usage()
7505 static bool zend_property_hook_uses_property(zend_string *property_name, zend_string *hook_name, ze… in zend_property_hook_uses_property() argument
7512 find_property_usage_context context = { property_name, false }; in zend_property_hook_uses_property()
[all …]
H A Dzend_execute.c644 zend_string *property_name = zval_get_tmp_string(property, &tmp_property_name); in zend_throw_non_object_error() local
652 ZSTR_VAL(property_name), zend_zval_value_name(object) in zend_throw_non_object_error()
660 ZSTR_VAL(property_name), zend_zval_value_name(object) in zend_throw_non_object_error()
665 ZSTR_VAL(property_name), zend_zval_value_name(object) in zend_throw_non_object_error()
H A Dzend_vm_def.h9804 zend_string *property_name = Z_STR_P(RT_CONSTANT(opline, opline->op1)); variable
9807 zend_property_info *prop_info = zend_hash_find_ptr(&parent_ce->properties_info, property_name);
9809 …hrow_error(NULL, "Undefined property %s::$%s", ZSTR_VAL(parent_ce->name), ZSTR_VAL(property_name));
9814 …ULL, "Cannot access private property %s::$%s", ZSTR_VAL(parent_ce->name), ZSTR_VAL(property_name));
9834 zend_function *fbc = zend_get_property_hook_trampoline(prop_info, hook_kind, property_name);
H A Dzend_API.c105 zend_string *property_name = zval_get_tmp_string(property, &tmp_property_name); in zend_wrong_property_read() local
106 …zend_error(E_WARNING, "Attempt to read property \"%s\" on %s", ZSTR_VAL(property_name), zend_zval_… in zend_wrong_property_read()
H A Dzend_vm_execute.h11519 zend_string *property_name = Z_STR_P(RT_CONSTANT(opline, opline->op1)); in ZEND_INIT_PARENT_PROPERTY_HOOK_CALL_SPEC_CONST_UNUSED_HANDLER() local
11522 zend_property_info *prop_info = zend_hash_find_ptr(&parent_ce->properties_info, property_name); in ZEND_INIT_PARENT_PROPERTY_HOOK_CALL_SPEC_CONST_UNUSED_HANDLER()
11524 …hrow_error(NULL, "Undefined property %s::$%s", ZSTR_VAL(parent_ce->name), ZSTR_VAL(property_name)); in ZEND_INIT_PARENT_PROPERTY_HOOK_CALL_SPEC_CONST_UNUSED_HANDLER()
11529 …ULL, "Cannot access private property %s::$%s", ZSTR_VAL(parent_ce->name), ZSTR_VAL(property_name)); in ZEND_INIT_PARENT_PROPERTY_HOOK_CALL_SPEC_CONST_UNUSED_HANDLER()
11549 zend_function *fbc = zend_get_property_hook_trampoline(prop_info, hook_kind, property_name); in ZEND_INIT_PARENT_PROPERTY_HOOK_CALL_SPEC_CONST_UNUSED_HANDLER()
/php-src/ext/standard/tests/class_object/
H A Dproperty_exists_error.phpt8 $property_name = 'string_val';
11 var_dump( property_exists(10, $property_name) );
/php-src/Zend/tests/
H A Dbug75573.phpt26 function __isset($property_name)
28 return isset($this->_stdObject->{$property_name});
/php-src/ext/opcache/jit/
H A Dzend_jit_helpers.c2575 static void ZEND_FASTCALL zend_jit_invalid_property_read(zval *container, const char *property_name) in zend_jit_invalid_property_read() argument
2577 …zend_error(E_WARNING, "Attempt to read property \"%s\" on %s", property_name, zend_zval_value_name… in zend_jit_invalid_property_read()
2580 …atic void ZEND_FASTCALL zend_jit_invalid_property_write(zval *container, const char *property_name) in zend_jit_invalid_property_write() argument
2584 property_name, zend_zval_value_name(container)); in zend_jit_invalid_property_write()
2587 …tic void ZEND_FASTCALL zend_jit_invalid_property_incdec(zval *container, const char *property_name) in zend_jit_invalid_property_incdec() argument
2602 property_name, zend_zval_value_name(container)); in zend_jit_invalid_property_incdec()
2608 …tic void ZEND_FASTCALL zend_jit_invalid_property_assign(zval *container, const char *property_name) in zend_jit_invalid_property_assign() argument
2612 property_name, zend_zval_value_name(container)); in zend_jit_invalid_property_assign()
2615 … void ZEND_FASTCALL zend_jit_invalid_property_assign_op(zval *container, const char *property_name) in zend_jit_invalid_property_assign_op() argument
2622 zend_jit_invalid_property_assign(container, property_name); in zend_jit_invalid_property_assign_op()
/php-src/ext/zend_test/
H A Dtest.c1029 zend_string *property_name = zend_string_init("arg", strlen("arg"), 0); in ZEND_METHOD() local
1030 …zend_update_property_ex(zend_test_attribute_with_arguments, Z_OBJ_P(ZEND_THIS), property_name, arg… in ZEND_METHOD()
1031 zend_string_release(property_name); in ZEND_METHOD()

Completed in 293 milliseconds