Fatal error: Uncaught TypeError: foo(): Argument #1 ($arg) must be of type callable, string given, called in /in/S4N2c on line 7 and defined in /in/S4N2c:3
Stack trace:
#0 /in/S4N2c(7): foo('hello')
#1 {main}
thrown in /in/S4N2c on line 3
Process exited with code 255.
Fatal error: Uncaught TypeError: Argument 1 passed to foo() must be callable, string given, called in /in/S4N2c on line 7 and defined in /in/S4N2c:3
Stack trace:
#0 /in/S4N2c(7): foo('hello')
#1 {main}
thrown in /in/S4N2c on line 3
Process exited with code 255.