Fatal error: Uncaught Error: Call to undefined function create_function() in /in/hAsBh:7
Stack trace:
#0 /in/hAsBh(14): foo->__construct()
#1 {main}
thrown in /in/hAsBh on line 7
Process exited with code 255.
Deprecated: Function create_function() is deprecated in /in/hAsBh on line 7
Warning: call_user_func() expects parameter 1 to be a valid callback, class 'foo' does not have a method 'newfunc' in /in/hAsBh on line 8