1
Fatal error: Uncaught TypeError: Test\Foo::bar(): Argument #1 ($a) must be of type callable, array given, called in /in/DGmOG on line 20 and defined in /in/DGmOG:6
Stack trace:
#0 /in/DGmOG(20): Test\Foo->bar(Array)
#1 {main}
thrown in /in/DGmOG on line 6
Process exited with code 255.
Output for 5.4.0 - 5.4.23
Parse error: syntax error, unexpected 'callable' (T_CALLABLE), expecting identifier (T_STRING) in /in/DGmOG on line 6
Process exited with code 255.
Output for 5.3.0 - 5.3.28
1
Catchable fatal error: Argument 1 passed to Test\Foo::bar() must be an instance of callable, array given, called in /in/DGmOG on line 20 and defined in /in/DGmOG on line 6
Process exited with code 255.