Home
last modified time | relevance | path

Searched refs:assign (Results 1 – 25 of 157) sorted by relevance

1234567

/PHP-8.0/Zend/tests/type_declarations/
H A Dtyped_properties_046.phpt26 Cannot assign string to property Foo::$bbb of type int
27 Cannot assign string to property Foo::$bbb of type int
28 Cannot assign string to property Foo::$bbb of type int
29 Cannot assign string to property Foo::$bbb of type int
30 Cannot assign string to property Foo::$bbb of type int
H A Dtyped_properties_095.phpt63 Cannot assign string to property _ZendTestClass::$intProp of type int
64 Cannot assign _ZendTestClass to property _ZendTestClass::$classProp of type ?stdClass
75 Cannot assign string to property _ZendTestClass::$intProp of type int
76 Cannot assign Test to property _ZendTestClass::$classProp of type ?stdClass
87 Cannot assign string to property _ZendTestClass::$staticIntProp of type int
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 Cannot assign stdClass to property Test::$selfProp of type self
45 Cannot assign stdClass to property Test::$selfNullProp of type ?self
46 Cannot assign stdClass to property Test::$parentProp of type parent
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_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_020.phpt2 Test typed properties binary assign op helper test
25 Cannot assign float to property Foo::$bar of type int
H A Dtyped_properties_058.phpt31 Cannot assign int to property B::$foo of type string
32 Cannot assign int to property B::$foo of type string
H A Dtyped_properties_069.phpt2 Test assign of invalid string to typed static int property
25 Cannot assign string to property Foo::$i of type int
H A Dtyped_properties_106.phpt24 Cannot assign array to reference held by property Test::$prop of type ?Type
25 Cannot assign array to reference held by property Test::$prop of type ?Type
/PHP-8.0/tests/lang/
H A DreturnByReference.003.phpt17 echo "\n---> 1. Trying to assign by reference the return value of a function that returns by value:…
24 echo "\n---> 2. Trying to assign by reference the return value of a function that returns a constan…
31 echo "\n---> 3. Trying to assign by reference the return value of a function that returns by ref:\n…
40 ---> 1. Trying to assign by reference the return value of a function that returns by value:
46 ---> 2. Trying to assign by reference the return value of a function that returns a constant by ref:
52 ---> 3. Trying to assign by reference the return value of a function that returns by ref:
H A DreturnByReference.004.phpt19 echo "\n---> 1. Trying to assign by reference the return value of a function that returns by value:…
26 echo "\n---> 2. Trying to assign by reference the return value of a function that returns a constan…
33 echo "\n---> 3. Trying to assign by reference the return value of a function that returns by ref:\n…
42 ---> 1. Trying to assign by reference the return value of a function that returns by value:
48 ---> 2. Trying to assign by reference the return value of a function that returns a constant by ref:
54 ---> 3. Trying to assign by reference the return value of a function that returns by ref:
H A DreturnByReference.005.phpt20 echo "\n---> 1. Trying to assign by reference the return value of a function that returns by value:…
27 echo "\n---> 2. Trying to assign by reference the return value of a function that returns a constan…
34 echo "\n---> 3. Trying to assign by reference the return value of a function that returns by ref:\n…
43 ---> 1. Trying to assign by reference the return value of a function that returns by value:
49 ---> 2. Trying to assign by reference the return value of a function that returns a constant by ref:
55 ---> 3. Trying to assign by reference the return value of a function that returns by ref:
H A DreturnByReference.006.phpt21 echo "\n---> 1. Via a return by ref function call, assign by reference the return value of a functi…
28 echo "\n---> 2. Via a return by ref function call, assign by reference the return value of a functi…
35 echo "\n---> 3. Via a return by ref function call, assign by reference the return value of a functi…
44 ---> 1. Via a return by ref function call, assign by reference the return value of a function that …
50 ---> 2. Via a return by ref function call, assign by reference the return value of a function that …
56 ---> 3. Via a return by ref function call, assign by reference the return value of a function that …
H A DreturnByReference.008.phpt24 echo "\n---> 1. Via a return by ref function call, assign by reference the return value of a functi…
31 echo "\n---> 2. Via a return by ref function call, assign by reference the return value of a functi…
38 echo "\n---> 3. Via a return by ref function call, assign by reference the return value of a functi…
47 ---> 1. Via a return by ref function call, assign by reference the return value of a function that …
53 ---> 2. Via a return by ref function call, assign by reference the return value of a function that …
59 ---> 3. Via a return by ref function call, assign by reference the return value of a function that …
H A DreturnByReference.007.phpt23 echo "\n---> 1. Via a return by ref function call, assign by reference the return value of a functi…
30 echo "\n---> 2. Via a return by ref function call, assign by reference the return value of a functi…
37 echo "\n---> 3. Via a return by ref function call, assign by reference the return value of a functi…
46 ---> 1. Via a return by ref function call, assign by reference the return value of a function that …
52 ---> 2. Via a return by ref function call, assign by reference the return value of a function that …
58 ---> 3. Via a return by ref function call, assign by reference the return value of a function that …
/PHP-8.0/Zend/tests/
H A Dbug71572.phpt30 Cannot assign an empty string to a string offset
31 Cannot assign an empty string to a string offset
32 Cannot assign an empty string to a string offset
33 Cannot assign an empty string to a string offset
H A Dassign_coalesce_005.phpt2 Coalesce assign (??=): Cannot reassign $this
14 Fatal error: Cannot re-assign $this in %s on line %d
H A Dthis_reassign.phpt2 $this re-assign
13 Fatal error: Uncaught Error: Cannot re-assign $this in %sthis_reassign.php:4
H A Dthis_in_extract.phpt2 $this re-assign in extract()
16 Cannot re-assign $this
H A Dbug70083.phpt2 Bug #70083 (Use after free with assign by ref to overloaded objects)
25 Cannot assign by reference to overloaded object
H A Dassign_ref_to_overloaded_prop.phpt2 Cannot assign by reference to overloaded object, even if __get() returns by-ref
20 Fatal error: Uncaught Error: Cannot assign by reference to overloaded object in %s:%d
H A D026.phpt2 Trying assign value to property when an object is not returned in a function
27 Attempt to assign property "a" on null
/PHP-8.0/ext/ffi/tests/
H A D020.phpt64 FFI\Exception: Attempt to assign read-only field 'y'
65 FFI\Exception: Attempt to assign read-only field 'x'
66 FFI\Exception: Attempt to assign read-only location
67 FFI\Exception: Attempt to assign read-only location
69 FFI\Exception: Attempt to assign read-only location
70 FFI\Exception: Attempt to assign read-only location
/PHP-8.0/ext/opcache/tests/jit/
H A Dundef_to_typed_ref.phpt92 Cannot assign null to reference held by property Test::$x of type string
95 Cannot assign null to reference held by property Test::$x of type string
98 Cannot assign null to reference held by property Test::$x of type string
101 Cannot assign null to reference held by property Test::$x of type string
104 Cannot assign null to reference held by property Test::$x of type string
107 Cannot assign null to reference held by property Test::$x of type string
H A Dassign_obj_001.phpt31 Attempt to assign property "x" on null
32 Attempt to assign property "x" on null

Completed in 29 milliseconds

1234567