Fatal error: Uncaught TypeError: Argument 1 passed to foo() must be an instance of mixed, array given, called in /in/6nIPL on line 4 and defined in /in/6nIPL:3
Stack trace:
#0 /in/6nIPL(4): foo(Array)
#1 {main}
thrown in /in/6nIPL on line 3
Process exited with code 255.
Catchable fatal error: Argument 1 passed to foo() must be an instance of mixed, array given, called in /in/6nIPL on line 4 and defined in /in/6nIPL on line 3
Process exited with code 255.