Warning: Use of undefined constant sayHello - assumed 'sayHello' (this will throw an Error in a future version of PHP) in /in/VtDEd on line 26
Fatal error: Uncaught TypeError: Argument 2 passed to Events::bind() must be an instance of Closure, string given, called in /in/VtDEd on line 26 and defined in /in/VtDEd:7
Stack trace:
#0 /in/VtDEd(26): Events->bind('hello', 'sayHello')
#1 {main}
thrown in /in/VtDEd on line 7
Process exited with code 255.
Output for 7.0.0 - 7.1.10
Notice: Use of undefined constant sayHello - assumed 'sayHello' in /in/VtDEd on line 26
Fatal error: Uncaught TypeError: Argument 2 passed to Events::bind() must be an instance of Closure, string given, called in /in/VtDEd on line 26 and defined in /in/VtDEd:7
Stack trace:
#0 /in/VtDEd(26): Events->bind('hello', 'sayHello')
#1 {main}
thrown in /in/VtDEd on line 7
Process exited with code 255.
Output for 5.3.21 - 5.6.21
Notice: Use of undefined constant sayHello - assumed 'sayHello' in /in/VtDEd on line 26
Catchable fatal error: Argument 2 passed to Events::bind() must be an instance of Closure, string given, called in /in/VtDEd on line 26 and defined in /in/VtDEd on line 7
Process exited with code 255.