Deprecated: Creation of dynamic property Foo::$arr is deprecated in /in/VRTtV on line 4
Warning: Bar::__construct(): Argument #1 ($foo) must be passed by reference, value given in /in/VRTtV on line 8
Warning: Bar::__construct(): Argument #2 ($arr) must be passed by reference, value given in /in/VRTtV on line 8
Deprecated: Creation of dynamic property Bar::$foo is deprecated in /in/VRTtV on line 17
Deprecated: Creation of dynamic property Bar::$arr is deprecated in /in/VRTtV on line 18
array(2) {
["x"]=>
int(1)
["y"]=>
int(2)
}
object(Foo)#1 (1) {
["arr"]=>
&array(2) {
["x"]=>
int(1)
["y"]=>
int(2)
}
}
object(Bar)#3 (2) {
["foo"]=>
object(Foo)#1 (1) {
["arr"]=>
&array(2) {
["x"]=>
int(1)
["y"]=>
int(2)
}
}
["arr"]=>
array(3) {
["x"]=>
int(1)
["y"]=>
int(2)
["z"]=>
int(3)
}
}
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.28
Warning: Bar::__construct(): Argument #1 ($foo) must be passed by reference, value given in /in/VRTtV on line 8
Warning: Bar::__construct(): Argument #2 ($arr) must be passed by reference, value given in /in/VRTtV on line 8
array(2) {
["x"]=>
int(1)
["y"]=>
int(2)
}
object(Foo)#1 (1) {
["arr"]=>
&array(2) {
["x"]=>
int(1)
["y"]=>
int(2)
}
}
object(Bar)#3 (2) {
["foo"]=>
object(Foo)#1 (1) {
["arr"]=>
&array(2) {
["x"]=>
int(1)
["y"]=>
int(2)
}
}
["arr"]=>
array(3) {
["x"]=>
int(1)
["y"]=>
int(2)
["z"]=>
int(3)
}
}
Warning: Parameter 1 to Bar::__construct() expected to be a reference, value given in /in/VRTtV on line 8
Warning: Parameter 2 to Bar::__construct() expected to be a reference, value given in /in/VRTtV on line 8
array(2) {
["x"]=>
int(1)
["y"]=>
int(2)
}
object(Foo)#1 (1) {
["arr"]=>
&array(2) {
["x"]=>
int(1)
["y"]=>
int(2)
}
}
object(Bar)#3 (2) {
["foo"]=>
object(Foo)#1 (1) {
["arr"]=>
&array(2) {
["x"]=>
int(1)
["y"]=>
int(2)
}
}
["arr"]=>
array(3) {
["x"]=>
int(1)
["y"]=>
int(2)
["z"]=>
int(3)
}
}
Output for 7.0.0 - 7.0.20
Warning: Parameter 1 to Bar::__construct() expected to be a reference, value given in /in/VRTtV on line 8
Warning: ReflectionClass::newInstanceArgs(): Invocation of Bar's constructor failed in /in/VRTtV on line 8
Fatal error: Uncaught Error: Call to a member function mod() on null in /in/VRTtV:35
Stack trace:
#0 {main}
thrown in /in/VRTtV on line 35
Process exited with code 255.
Output for 5.6.0 - 5.6.28
Warning: Parameter 1 to Bar::__construct() expected to be a reference, value given in /in/VRTtV on line 8
Warning: ReflectionClass::newInstanceArgs(): Invocation of Bar's constructor failed in /in/VRTtV on line 8
Fatal error: Call to a member function mod() on null in /in/VRTtV on line 35
Process exited with code 255.
Warning: Parameter 1 to Bar::__construct() expected to be a reference, value given in /in/VRTtV on line 8
Warning: ReflectionClass::newInstanceArgs(): Invocation of Bar's constructor failed in /in/VRTtV on line 8
Fatal error: Call to a member function mod() on a non-object in /in/VRTtV on line 35
Process exited with code 255.
Output for 5.3.0 - 5.3.2
Warning: Parameter 1 to Bar::__construct() expected to be a reference, value given in /in/VRTtV on line 8
Warning: Invocation of Bar's constructor failed in /in/VRTtV on line 8
Fatal error: Call to a member function mod() on a non-object in /in/VRTtV on line 35
Process exited with code 255.
Output for 5.2.5 - 5.2.17
Warning: Invocation of Bar's constructor failed in /in/VRTtV on line 8
Fatal error: Call to a member function mod() on a non-object in /in/VRTtV on line 35
Process exited with code 255.
Output for 5.1.3 - 5.1.6, 5.2.0 - 5.2.4
Process exited with code 139.
Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.2
Fatal error: Call to undefined method ReflectionClass::newInstanceArgs() in /in/VRTtV on line 8
Process exited with code 255.
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.9
Fatal error: Cannot instantiate non-existent class: reflectionclass in /in/VRTtV on line 7
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Cannot instantiate non-existent class: reflectionclass in /in/VRTtV on line 7