Deprecated: Creation of dynamic property ObjContainer::$myVar is deprecated in /in/fNVb4 on line 18
Deprecated: Creation of dynamic property ObjContainer::$setVar is deprecated in /in/fNVb4 on line 18
Deprecated: Creation of dynamic property ObjContainer::$getVar is deprecated in /in/fNVb4 on line 18
Deprecated: Creation of dynamic property ObjContainer::$foo is deprecated in /in/fNVb4 on line 18
object(ObjContainer)#3 (4) {
["myVar"]=>
string(0) ""
["setVar"]=>
object(Closure)#1 (1) {
["parameter"]=>
array(1) {
["$arg"]=>
string(10) "<required>"
}
}
["getVar"]=>
object(Closure)#2 (0) {
}
["foo"]=>
string(13) "return "foo";"
}
Fatal error: Uncaught Error: Call to undefined function return "foo";() in /in/fNVb4:48
Stack trace:
#0 {main}
thrown in /in/fNVb4 on line 48
Process exited with code 255.