/PHP-8.1/ext/dom/tests/ |
H A D | property_write_errors.phpt | 2 Test property write errors 51 Cannot assign array to property DOMNode::$nodeValue of type ?string 52 Cannot write read-only property DOMDocument::$nodeType 53 Cannot write read-only property DOMDocument::$xmlEncoding 54 Cannot write read-only property DOMEntity::$actualEncoding 55 Cannot write read-only property DOMEntity::$encoding 56 Cannot write read-only property DOMEntity::$version
|
/PHP-8.1/Zend/tests/ |
H A D | bug76860_2.phpt | 2 Bug #76860 (Missed "Accessing static property as non static" warning) 21 Notice: Accessing static property B::$a as non static in %sbug76860_2.php on line 7 23 Warning: Undefined property: B::$a in %s on line %d 25 Notice: Accessing static property B::$b as non static in %sbug76860_2.php on line 7 27 Warning: Undefined property: B::$b in %s on line %d 29 Notice: Accessing static property B::$c as non static in %sbug76860_2.php on line 7 31 Warning: Undefined property: B::$c in %s on line %d
|
H A D | bug77291.phpt | 8 public function __isset($property) 10 return property_exists($this, $property); 13 public function __get($property) 15 if (property_exists($this, $property)) { 16 return $this->$property;
|
H A D | bug44660.phpt | 2 Bug #44660 (Indexed and reference assignment to property of non-object don't trigger warning) 51 Warning: Attempt to read property "p" on bool in %s on line %d 54 Attempt to assign property "p" on bool 57 Attempt to increment/decrement property "p" on bool 60 Attempt to modify property "p" on bool 63 Attempt to modify property "p" on bool 66 Attempt to modify property "p" on bool
|
H A D | int_static_prop_name.phpt | 2 Using an integer as a static property name 40 Access to undeclared static property Foo::$42 41 Access to undeclared static property Foo::$42 42 Access to undeclared static property Foo::$42
|
H A D | bug78151.phpt | 12 $property = 'foo'; 14 $this->{$property} = &$array[$property];
|
H A D | temporary_cleaning_012.phpt | 8 self::$property = new self; 20 Access to undeclared static property Foo::$property
|
/PHP-8.1/tests/lang/ |
H A D | engine_assignExecutionOrder_001.phpt | 25 echo "\n\nOrder with object property assignment:\n"; 30 echo "\n\nOrder with nested object property assignment:\n"; 37 echo "\n\nOrder with dim_list property assignment:\n"; 48 echo "\n\nOrder with static property assignment:\n"; 52 echo "\n\nOrder with static array property assignment:\n"; 90 Order with object property assignment: 99 Order with nested object property assignment: 114 Order with dim_list property assignment: 126 Order with static property assignment: 132 Order with static array property assignment: [all …]
|
/PHP-8.1/ext/spl/tests/ |
H A D | arrayObject_setFlags_basic1.phpt | 6 public $p = 'object property'; 22 echo "\n--> Access the real property:\n"; 25 echo "\n--> Remove the real property and access the array element:\n"; 34 --> Access the real property: 36 string(15) "object property" 37 string(23) "object property.changed" 39 --> Remove the real property and access the array element:
|
/PHP-8.1/ext/zip/tests/ |
H A D | oo_readonly_properties.phpt | 66 Cannot write read-only property ZipArchive::$lastId 67 Cannot write read-only property ZipArchive::$lastId 69 Cannot write read-only property ZipArchive::$status 71 Cannot write read-only property ZipArchive::$statusSys 73 Cannot write read-only property ZipArchive::$numFiles 75 Cannot write read-only property ZipArchive::$filename 77 Cannot write read-only property ZipArchive::$comment
|
/PHP-8.1/ext/reflection/tests/ |
H A D | ReflectionProperty_setValue_error.phpt | 9 static public $stat = "static property"; 21 echo "\nProtected property:\n"; 27 echo "\n\nInstance without property:\n"; 33 Protected property: 37 Instance without property:
|
H A D | ReflectionClass_hasProperty_basic.phpt | 11 //Check if C has public property publicFoo 14 //Check if C has protected property protectedFoo 17 //Check if C has private property privateFoo 20 //Check if C has static property staticFoo 23 //C should not have property bar
|
H A D | ReflectionProperty_constructor_error.phpt | 18 echo "\n\nWrong property parameter type:\n"; 26 echo "\n\nNon-existent property:\n"; 39 Wrong property parameter type: 42 Non-existent property:
|
/PHP-8.1/tests/classes/ |
H A D | iterators_006.phpt | 47 foreach ($array as $property => $value) { 48 print "$property: $value\n"; 60 foreach ($array as $property => $value) { 61 print "$property: $value\n"; 66 foreach ($array as $property => $value) { 67 print "$property: $value\n";
|
H A D | static_properties_003.phpt | 2 Attempting to access static properties using instance property syntax 32 Notice: Accessing static property C::$x as non static in %s on line 11 34 Notice: Accessing static property C::$x as non static in %s on line 12 36 Warning: Undefined property: C::$x in %s on line %d 38 Notice: Accessing static property C::$x as non static in %s on line 13 40 Notice: Accessing static property C::$x as non static in %s on line 15 42 Notice: Accessing static property C::$x as non static in %s on line 16
|
/PHP-8.1/Zend/tests/type_declarations/union_types/ |
H A D | prop_ref_assign.phpt | 52 Cannot assign int to reference held by property Test::$x of type string|int and property Test::$y o… 55 Cannot assign float to reference held by property Test::$x of type string|int and property Test::$y… 58 Reference with value of type int held by property Test::$x of type string|int is not compatible wit… 59 …ference with value of type float held by property Test::$y of type string|float is not compatible …
|
H A D | incdec_prop.phpt | 2 Increment/decrement a typed property with int|float type 11 /* Incrementing a int|float property past int min/max is legal */ 51 /* Incrementing a non-int|float property past int min/max is an error, 125 Cannot increment property Test::$prop2 of type int|bool past its maximal value 126 Cannot increment property Test::$prop2 of type int|bool past its maximal value 127 Cannot decrement property Test::$prop2 of type int|bool past its minimal value 128 Cannot decrement property Test::$prop2 of type int|bool past its minimal value 129 Cannot increment a reference held by property Test::$prop2 of type int|bool past its maximal value 130 Cannot increment a reference held by property Test::$prop2 of type int|bool past its maximal value 131 Cannot decrement a reference held by property Test::$prop2 of type int|bool past its minimal value [all …]
|
/PHP-8.1/Zend/tests/enum/ |
H A D | no-write-properties.phpt | 45 Cannot modify readonly property Foo::$name 46 Cannot create dynamic property Foo::$value 47 Cannot modify readonly property IntFoo::$name 48 Cannot modify readonly property IntFoo::$value 49 Cannot create dynamic property IntFoo::$value2
|
/PHP-8.1/Zend/tests/type_declarations/ |
H A D | typed_properties_097.phpt | 42 // Do the same things again, but with the property being a reference. 75 Cannot decrement property Test::$foo of type int past its minimal value 77 Cannot decrement property Test::$foo of type int past its minimal value 79 Cannot increment property Test::$foo of type int past its maximal value 81 Cannot increment property Test::$foo of type int past its maximal value 83 Cannot decrement a reference held by property Test::$foo of type int past its minimal value 85 Cannot decrement a reference held by property Test::$foo of type int past its minimal value 87 Cannot increment a reference held by property Test::$foo of type int past its maximal value 89 Cannot increment a reference held by property Test::$foo of type int past its maximal value
|
H A D | typed_properties_043.phpt | 2 Trying to assign to a static 'self' typed property on a trait must not fixate the type to the trait 44 Deprecated: Accessing static trait property Test::$selfProp is deprecated, it should only be access… 45 Cannot assign stdClass to property Test::$selfProp of type self 47 Deprecated: Accessing static trait property Test::$selfNullProp is deprecated, it should only be ac… 48 Cannot assign stdClass to property Test::$selfNullProp of type ?self 50 Deprecated: Accessing static trait property Test::$parentProp is deprecated, it should only be acce… 51 Cannot assign stdClass to property Test::$parentProp of type parent 53 Deprecated: Accessing static trait property Test::$selfNullProp is deprecated, it should only be ac… 55 Deprecated: Accessing static trait property Test::$selfNullProp is deprecated, it should only be ac…
|
H A D | typed_properties_062.phpt | 2 Typed property on by-ref property 67 Cannot assign string to reference held by property class@anonymous::$foo of type int 71 Cannot decrement a reference held by property class@anonymous::$foo of type int past its minimal va… 73 Cannot decrement a reference held by property class@anonymous::$foo of type int past its minimal va… 75 Cannot increment a reference held by property class@anonymous::$foo of type int past its maximal va… 77 Cannot increment a reference held by property class@anonymous::$foo of type int past its maximal va… 79 Cannot assign array to reference held by property class@anonymous::$foo of type int
|
H A D | typed_properties_068.phpt | 2 Test typed static property by ref 69 Cannot assign null to reference held by property Foo::$i of type int 72 Cannot assign null to property Foo::$i of type int 79 Cannot assign string to property Foo::$i of type int 82 Reference with value of type string held by property Foo::$s of type string is not compatible with … 85 Reference with value of type int held by property Foo::$i of type int is not compatible with proper…
|
/PHP-8.1/Zend/tests/type_declarations/mixed/inheritance/ |
H A D | mixed_property_inheritance_success.phpt | 2 Test that a property of mixed property type can be overridden by a property of mixed type
|
/PHP-8.1/Zend/tests/traits/bugs/ |
H A D | overridding-static-property-with-doc-block.phpt | 2 Overriding a static property where both declarations have a doc block does not leak memory 9 static $property; 18 static $property;
|
/PHP-8.1/ext/mysqli/tests/ |
H A D | write_property_strict.phpt | 12 /* Read-only property */ 32 Cannot write read-only property mysqli_driver::$client_info 33 Cannot assign int to property mysqli_driver::$reconnect of type bool 34 Cannot assign string to property mysqli_driver::$report_mode of type int
|