Fatal error: Uncaught TypeError: Argument 1 passed to foo() must be an instance of iterable, array given, called in /in/iShXW on line 7 and defined in /in/iShXW:3
Stack trace:
#0 /in/iShXW(7): foo(Array)
#1 {main}
thrown in /in/iShXW on line 3
Process exited with code 255.
Catchable fatal error: Argument 1 passed to foo() must be an instance of iterable, array given, called in /in/iShXW on line 7 and defined in /in/iShXW on line 3
Process exited with code 255.
Output for 5.1.0 - 5.1.6
Fatal error: Argument 1 passed to foo() must be an object of class iterable, called in /in/iShXW on line 7 and defined in /in/iShXW on line 3
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Fatal error: Argument 1 must be an object of class iterable in /in/iShXW on line 3
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STRING, expecting ')' in /in/iShXW on line 3
Process exited with code 255.