Home
last modified time | relevance | path

Searched refs:property (Results 26 – 50 of 727) sorted by relevance

12345678910>>...30

/PHP-8.3/ext/snmp/tests/
H A Dsnmp-object-properties-error.phpt2 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 DReflectionProperty_basic1.phpt6 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 DReflectionProperty_setValue_error.phpt9 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 DReflectionClass_hasProperty_basic.phpt11 //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 Dproperty_write_errors.phpt2 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 Dbug76860_2.phpt2 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 Dbug77291.phpt8 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 Dbug44660.phpt2 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 Ddynamic_prop_deprecation.phpt37 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 Dint_static_prop_name.phpt2 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 Dbug78151.phpt12 $property = 'foo';
14 $this->{$property} = &$array[$property];
H A Dtemporary_cleaning_012.phpt8 self::$property = new self;
20 Access to undeclared static property Foo::$property
/PHP-8.3/tests/lang/
H A Dengine_assignExecutionOrder_001.phpt25 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 Doo_readonly_properties.phpt66 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 DarrayObject_setFlags_basic1.phpt6 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 Dprop_ref_assign.phpt52 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 Dno-write-properties.phpt45 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 Diterators_006.phpt49 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 Dstatic_properties_003.phpt2 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 Dtyped_properties_043.phpt2 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 Dtyped_properties_097.phpt42 // 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 Dtyped_properties_062.phpt2 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 Dtyped_properties_068.phpt2 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 Doverridding-static-property-with-doc-block.phpt2 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 Dmixed_property_inheritance_success.phpt2 Test that a property of mixed property type can be overridden by a property of mixed type

Completed in 23 milliseconds

12345678910>>...30