/php-src/ |
H A D | UPGRADING | 261 . ReflectionAttribute now contains a $name property to improve the debugging
|
/php-src/docs/source/core/data-structures/ |
H A D | reference-counting.rst | 136 for all of its observers. For example, writing to a property changes the property in every place the
|
/php-src/ext/reflection/ |
H A D | php_reflection.stub.php | 444 public function __construct(object|string $class, string $property) {} argument
|
H A D | php_reflection_arginfo.h | 337 ZEND_ARG_TYPE_INFO(0, property, IS_STRING, 0)
|
H A D | php_reflection.c | 4721 zval property; in _addproperty() local 4722 reflection_property_factory(ce, key, pptr, &property); in _addproperty() 4723 zend_hash_next_index_insert_new(ht, &property); in _addproperty() 4731 zval property; in _adddynproperty() local 4745 reflection_property_factory(ce, key, NULL, &property); in _adddynproperty() 4746 add_next_index_zval(retval, &property); in _adddynproperty()
|
/php-src/Zend/ |
H A D | zend_API.h | 408 ZEND_API ZEND_COLD void zend_wrong_property_read(zval *object, zval *property); 425 …d_declare_typed_property(zend_class_entry *ce, zend_string *name, zval *property, int access_type,… 427 ZEND_API void zend_declare_property_ex(zend_class_entry *ce, zend_string *name, zval *property, int… 428 …perty(zend_class_entry *ce, const char *name, size_t name_length, zval *property, int access_type);
|
H A D | zend_builtin_functions.c | 944 static void _property_exists(zval *return_value, zval *object, zend_string *property) in _property_exists() argument 961 property_info = zend_hash_find_ptr(&ce->properties_info, property); in _property_exists() 969 Z_OBJ_HANDLER_P(object, has_property)(Z_OBJ_P(object), property, 2, NULL)) { in _property_exists() 979 zend_string *property; in ZEND_FUNCTION() local 982 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zS", &object, &property) == FAILURE) { in ZEND_FUNCTION() 986 _property_exists(return_value, object, property); in ZEND_FUNCTION() 994 zend_string *property; variable 997 Z_FLF_PARAM_STR(2, property, property_tmp); 999 _property_exists(return_value, object, property);
|
H A D | zend_API.c | 4673 zval property; in zend_declare_property_null() local 4682 zval property; in zend_declare_property_bool() local 4691 zval property; in zend_declare_property_long() local 4700 zval property; in zend_declare_property_double() local 4709 zval property; in zend_declare_property_string() local 4718 zval property; in zend_declare_property_stringl() local 4954 zval *property, tmp; in zend_update_static_property_ex() local 4968 if (!property) { in zend_update_static_property_ex() 5081 zval *property; in zend_read_static_property_ex() local 5088 return property; in zend_read_static_property_ex() [all …]
|
H A D | zend_execute.c | 849 zend_zval_value_name(property), in zend_verify_property_type_error() 865 zend_zval_type_name(property), in zend_magic_get_property_type_inconsistency_error() 995 ZEND_ASSERT(!Z_ISREF_P(property)); in i_zend_check_property_type() 1000 if (ZEND_TYPE_IS_COMPLEX(info->type) && Z_TYPE_P(property) == IS_OBJECT in i_zend_check_property_type() 1007 return zend_verify_scalar_type_hint(type_mask, property, strict, 0); in i_zend_check_property_type() 1012 if (i_zend_check_property_type(info, property, strict)) { in i_zend_verify_property_type() 1016 zend_verify_property_type_error(info, property); in i_zend_verify_property_type() 1021 return i_zend_verify_property_type(info, property, strict); in zend_verify_property_type() 1572 if (property && UNEXPECTED(Z_ISUNDEF_P(property))) { in zend_binary_assign_op_obj_dim() 1573 property = ZVAL_UNDEFINED_OP2(); in zend_binary_assign_op_obj_dim() [all …]
|
H A D | zend_language_parser.y | 257 %type <ast> absolute_trait_method_reference trait_method_reference property echo_expr 1069 property_list ',' property { $$ = zend_ast_list_add($1, $3); } 1070 | property { $$ = zend_ast_create_list(1, ZEND_AST_PROP_DECL, $1); } 1073 property:
|
/php-src/ext/xmlreader/ |
H A D | php_xmlreader.c | 574 zend_long property; in PHP_METHOD() local 577 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l", &property) == FAILURE) { in PHP_METHOD() 589 int retval = xmlTextReaderGetParserProp(intern->ptr,property); in PHP_METHOD() 931 zend_long property; in PHP_METHOD() local 935 if (zend_parse_parameters(ZEND_NUM_ARGS(), "lb", &property, &value) == FAILURE) { in PHP_METHOD() 947 int retval = xmlTextReaderSetParserProp(intern->ptr,property, value); in PHP_METHOD()
|
/php-src/docs/ |
H A D | release-process.md | 723 It is sufficient to set the `number` property for the release to `0` to
|
/php-src/ext/xsl/tests/ |
H A D | special_operations_with_properties.phpt | 62 Typed property XSLTProcessor::$cloneDocument must not be accessed before initialization 64 Typed property XSLTProcessor::$doXInclude must not be accessed before initialization
|
/php-src/ext/opcache/tests/jit/ |
H A D | fetch_obj_006.phpt | 25 Fatal error: Uncaught Error: Cannot indirectly modify readonly property Test::$prop in %s:%d
|
/php-src/Zend/tests/type_declarations/ |
H A D | typed_properties_055.phpt | 2 Test assign to typed property taken by reference 25 Fatal error: Uncaught TypeError: Cannot assign string to reference held by property A::$bar of type…
|
/php-src/Zend/tests/ |
H A D | closure_020.phpt | 2 Closure 020: Trying to access private property outside class 50 Fatal error: Uncaught Error: Cannot access private property foo::$test in %s:%d
|
H A D | closure_033.phpt | 2 Closure 033: Dynamic closure property and private function
|
H A D | closure_038.phpt | 58 Fatal error: Uncaught Error: Cannot access private property B::$x in %s:%d
|
H A D | closure_039.phpt | 58 Fatal error: Uncaught Error: Cannot access private property B::$x in %s:%d
|
H A D | bug64960.phpt | 34 Deprecated: Creation of dynamic property Exception::$_trace is deprecated in %s on line %d 36 Deprecated: Creation of dynamic property Exception::$_trace is deprecated in %s on line %d
|
H A D | bug70321.phpt | 2 bug #70321 (Magic getter breaks reference to array property)
|
H A D | bug75079_2.phpt | 32 Fatal error: Uncaught Error: Cannot access private property Foo::$bar in %s:%d
|
/php-src/ext/reflection/tests/types/ |
H A D | ReflectionType_001.phpt | 77 echo "\n*** property types\n"; 90 foreach ($reflector->getProperties() as $name => $property) { 91 if ($property->hasType()) { 93 $property->getType()->getName(), $property->getName()); 94 } else printf("public $%s;\n", $property->getName()); 97 echo "*** resolved property types\n"; 215 *** property types 222 *** resolved property types
|
/php-src/ext/standard/ |
H A D | var_unserializer.re | 602 /* This is a property with a declaration */ 617 /* We may override default property value, but they are usually immutable */ 623 /* Unusual override of dynamic property */ 640 zend_throw_error(NULL, "Cannot create dynamic property %s::$%s", 645 zend_error(E_DEPRECATED, "Creation of dynamic property %s::$%s is deprecated", 680 * The data is still stored in the property. */ 696 /* Remember to which property this slot belongs, so we can add a
|
/php-src/ext/zend_test/tests/ |
H A D | gh9871.phpt | 21 $property = new MyReflectionProperty('A', 'protected'); 22 $property->setAccessible(true);
|