Home
last modified time | relevance | path

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

12345678910>>...26

/PHP-8.1/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.1/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 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 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.1/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.1/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.1/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.1/ext/reflection/tests/
H A DReflectionProperty_setValue_error.phpt9 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 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
H A DReflectionProperty_constructor_error.phpt18 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 Diterators_006.phpt47 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 Dstatic_properties_003.phpt2 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 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 …
H A Dincdec_prop.phpt2 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 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.1/Zend/tests/type_declarations/
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_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_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.1/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
/PHP-8.1/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.1/ext/mysqli/tests/
H A Dwrite_property_strict.phpt12 /* 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

Completed in 38 milliseconds

12345678910>>...26