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