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