Home
last modified time | relevance | path

Searched refs:property (Results 101 – 125 of 627) sorted by relevance

12345678910>>...26

/PHP-8.1/Zend/tests/readonly_props/
H A Dmagic_get_set.phpt34 // The property is in uninitialized state, no magic methods should be invoked.
66 Typed property Test::$prop must not be accessed before initialization
67 Cannot initialize readonly property Test::$prop from global scope
68 Cannot unset readonly property Test::$prop from global scope
H A Dcache_slot.phpt93 Cannot modify readonly property Test::$prop
96 Cannot modify readonly property Test::$prop2
97 Cannot modify readonly property Test::$prop2
110 Cannot modify readonly property Test::$prop2
111 Cannot modify readonly property Test::$prop2
H A Dreadonly_with_default.phpt2 Readonly property with default value
19 Fatal error: Readonly property Test::$prop cannot have default value in %s on line %d
H A Dgh7942.phpt2 GH-7942: Disallow assigning reference to unset readonly property
22 Cannot indirectly modify readonly property Foo::$bar
H A Dvariation_nested.phpt72 Init: 0, op: r: Typed property Test::$prop must not be accessed before initialization
73 Init: 0, op: w: Cannot indirectly modify readonly property Test::$prop
74 Init: 0, op: rw: Typed property Test::$prop must not be accessed before initialization
75 Init: 0, op: im: Cannot indirectly modify readonly property Test::$prop
/PHP-8.1/tests/classes/
H A Dstatic_properties_undeclared_read.phpt2 Reading a non-existent static property
9 Fatal error: Uncaught Error: Access to undeclared static property C::$p in %s:%d
H A Dstatic_properties_undeclared_assign.phpt2 Assigning to a non-existent static property
9 Fatal error: Uncaught Error: Access to undeclared static property C::$p in %s:%d
H A Dstatic_properties_undeclared_assignInc.phpt2 Assigning & incrementing a non-existent static property
9 Fatal error: Uncaught Error: Access to undeclared static property C::$p in %s:%d
H A Dstatic_properties_undeclared_assignRef.phpt2 Assigning a non-existent static property by reference
10 Fatal error: Uncaught Error: Access to undeclared static property C::$p in %s:%d
/PHP-8.1/Zend/tests/
H A Dbug78182.phpt2 Bug #78182: Segmentation fault during by-reference property assignment
15 Attempt to modify property "prop" on null
H A Dproperty_access_errors_for_guarded_properties.phpt53 Cannot access private property Test::$prop
54 Cannot access private property Test::$prop
55 Cannot access private property Test::$prop
H A Dbug69201.phpt10 public function &__get($property)
16 public function __set($property, $value)
H A Dgh10570.phpt12 Warning: Undefined property: stdClass::$90 in %s on line %d
14 Warning: Undefined property: stdClass::$90 in %s on line %d
H A Dforeach_shadowed_dyn_property.phpt2 Dynamic property shadowed by private property
/PHP-8.1/Zend/tests/type_declarations/
H A Dtyped_properties_070.phpt2 Test typed static property with assign op operators
46 Cannot assign float to property Foo::$i of type int
48 Cannot assign string to property Foo::$i of type int
H A Dtyped_properties_049.phpt2 Nullable typed property
10 Fatal error: Default value for property of type int may not be null. Use the nullable type ?int to …
H A Dtyped_properties_045.phpt45 Cannot assign array to reference held by property Foo::$bar of type int
48 Cannot assign array to reference held by property Foo::$baz of type float
51 Cannot assign array to reference held by property Foo::$privateProp of type float
H A Dtyped_properties_103.phpt2 Handling of UNDEF property in compound assign
18 Warning: Undefined property: C::$a in %s on line %d
/PHP-8.1/Zend/tests/nullsafe_operator/
H A D029.phpt9 Warning: Attempt to read property "a" on array in %s on line %d
11 Warning: Attempt to read property "a" on string in %s on line %d
/PHP-8.1/ext/date/tests/
H A Dbug74852.phpt2 Bug #74852 property_exists returns true on unknown DateInterval property
16 Warning: Undefined property: DateInterval::$abcde in %s on line %d
/PHP-8.1/ext/reflection/tests/
H A DReflectionType_001.phpt77 echo "\n*** property types\n";
91 foreach ($reflector->getProperties() as $name => $property) {
92 if ($property->hasType()) {
94 $property->getType()->getName(), $property->getName());
95 } else printf("public $%s;\n", $property->getName());
98 echo "*** resolved property types\n";
215 *** property types
223 *** resolved property types
H A Dbug36337.phpt10 $property = new ReflectionProperty(get_class($this),'_values');
11 var_dump($property->isProtected());
/PHP-8.1/ext/json/tests/
H A Dbug68546.phpt2 Bug #68546 (json_decode() Fatal error: Cannot access property started with '\0')
19 string(36) "The decoded property name is invalid"
/PHP-8.1/Zend/tests/type_declarations/mixed/inheritance/
H A Dmixed_property_inheritance_error7.phpt2 Test that an untyped property can't be overridden by a property of mixed type
H A Dmixed_property_inheritance_error3.phpt2 Test that a property of mixed type can't be overridden by an untyped property

Completed in 56 milliseconds

12345678910>>...26