Deprecated: Creation of dynamic property ObjContainer::$myVar is deprecated in /in/FhVf8 on line 18
Deprecated: Creation of dynamic property ObjContainer::$setVar is deprecated in /in/FhVf8 on line 18
Deprecated: Creation of dynamic property ObjContainer::$getVar is deprecated in /in/FhVf8 on line 18
Deprecated: Creation of dynamic property ObjContainer::$foo is deprecated in /in/FhVf8 on line 18
object(ObjContainer)#4 (4) {
["myVar"]=>
string(0) ""
["setVar"]=>
object(Closure)#1 (1) {
["parameter"]=>
array(1) {
["$arg"]=>
string(10) "<required>"
}
}
["getVar"]=>
object(Closure)#2 (0) {
}
["foo"]=>
object(Closure)#3 (0) {
}
}
foo
Warning: Undefined property: ObjContainer::${'foo'} in /in/FhVf8 on line 4
Parse error: syntax error, unexpected token ")" in /in/FhVf8(4) : eval()'d code on line 1
Process exited with code 255.
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.28
object(ObjContainer)#4 (4) {
["myVar"]=>
string(0) ""
["setVar"]=>
object(Closure)#1 (1) {
["parameter"]=>
array(1) {
["$arg"]=>
string(10) "<required>"
}
}
["getVar"]=>
object(Closure)#2 (0) {
}
["foo"]=>
object(Closure)#3 (0) {
}
}
foo
Warning: Undefined property: ObjContainer::${'foo'} in /in/FhVf8 on line 4
Parse error: syntax error, unexpected token ")" in /in/FhVf8(4) : eval()'d code on line 1
Process exited with code 255.