Deprecated: Creation of dynamic property ObjContainer::$myVar is deprecated in /in/vlZXF on line 18
Deprecated: Creation of dynamic property ObjContainer::$setVar is deprecated in /in/vlZXF on line 18
Deprecated: Creation of dynamic property ObjContainer::$getVar is deprecated in /in/vlZXF on line 18
Deprecated: Creation of dynamic property ObjContainer::$foo is deprecated in /in/vlZXF 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) {
}
}
Fatal error: Uncaught Error: Call to undefined function foo() in /in/vlZXF:50
Stack trace:
#0 {main}
thrown in /in/vlZXF on line 50
Process exited with code 255.