/PHP-8.3/ext/snmp/tests/ |
H A D | snmp-object-properties-error.phpt | 2 Test SNMP object property errors 77 Cannot write read-only property SNMP::$info 78 Cannot write read-only property SNMP::$info 79 Cannot assign array to property SNMP::$max_oids of type ?int 81 Cannot assign array to property SNMP::$valueretrieval of type int 82 Cannot assign array to property SNMP::$quick_print of type bool 83 Cannot assign array to property SNMP::$enum_print of type bool 84 Cannot assign array to property SNMP::$oid_output_format of type int 85 Cannot assign array to property SNMP::$oid_increasing_check of type bool 86 Cannot assign array to property SNMP::$exceptions_enabled of type int
|
/PHP-8.3/ext/reflection/tests/ |
H A D | ReflectionProperty_basic1.phpt | 6 function reflectProperty($class, $property) { 7 $propInfo = new ReflectionProperty($class, $property); 9 echo "Reflecting on property $class::$property\n\n"; 35 static public $stat = "static property"; 48 Reflecting on property TestClass::pub 70 Reflecting on property TestClass::stat 73 string(53) "Property [ public static $stat = 'static property' ] 86 string(15) "static property" 92 Reflecting on property TestClass::prot 110 Reflecting on property TestClass::priv
|
H A D | ReflectionProperty_setValue_error.phpt | 9 static public $stat = "static property"; 22 echo "\nProtected property:\n"; 28 echo "\n\nInstance without property:\n"; 34 Protected property: 38 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
|
/PHP-8.3/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.3/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 true in %s on line %d 54 Attempt to assign property "p" on true 57 Attempt to increment/decrement property "p" on true 60 Attempt to modify property "p" on true 63 Attempt to modify property "p" on true 66 Attempt to modify property "p" on true
|
H A D | dynamic_prop_deprecation.phpt | 37 Deprecated: Creation of dynamic property Test::$prop is deprecated in %s on line %d 39 Deprecated: Creation of dynamic property Test::$prop2 is deprecated in %s on line %d 41 Warning: Undefined property: Test::$prop2 in %s on line %d 43 Deprecated: Creation of dynamic property Test::$prop3 is deprecated in %s on line %d 45 Warning: Undefined property: Test::$prop3 in %s on line %d 47 Deprecated: Creation of dynamic property Test::$prop4 is deprecated in %s on line %d
|
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.3/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.3/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.3/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.3/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 …
|
/PHP-8.3/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.3/tests/classes/ |
H A D | iterators_006.phpt | 49 foreach ($array as $property => $value) { 50 print "$property: $value\n"; 62 foreach ($array as $property => $value) { 63 print "$property: $value\n"; 68 foreach ($array as $property => $value) { 69 print "$property: $value\n";
|
H A D | static_properties_003.phpt | 2 Attempting to access static properties using instance property syntax 33 Notice: Accessing static property C::$x as non static in %s on line 12 35 Notice: Accessing static property C::$x as non static in %s on line 13 37 Warning: Undefined property: C::$x in %s on line %d 39 Notice: Accessing static property C::$x as non static in %s on line 14 41 Notice: Accessing static property C::$x as non static in %s on line 16 43 Notice: Accessing static property C::$x as non static in %s on line 17
|
/PHP-8.3/Zend/tests/type_declarations/ |
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_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_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.3/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.3/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
|