Fatal error: Uncaught Error: Undefined constant "sayHello" in /in/VtDEd:26
Stack trace:
#0 {main}
thrown in /in/VtDEd on line 26
Process exited with code 255.
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.0.20, 7.1.0 - 7.1.20
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.5.24 - 5.5.35, 5.6.8 - 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.