3
Fatal error: Uncaught TypeError: foo(): Argument #1 ($a) must be of type array, string given, called in /in/KNf8O on line 8 and defined in /in/KNf8O:3
Stack trace:
#0 /in/KNf8O(8): foo('test')
#1 {main}
thrown in /in/KNf8O on line 3
Process exited with code 255.
3
Fatal error: Uncaught TypeError: Argument 1 passed to foo() must be of the type array, string given, called in /in/KNf8O on line 8 and defined in /in/KNf8O:3
Stack trace:
#0 /in/KNf8O(8): foo('test')
#1 {main}
thrown in /in/KNf8O on line 3
Process exited with code 255.
3
Catchable fatal error: Argument 1 passed to foo() must be of the type array, string given, called in /in/KNf8O on line 8 and defined in /in/KNf8O on line 3
Process exited with code 255.
Output for 5.2.0 - 5.2.17, 5.3.0 - 5.3.29
3
Catchable fatal error: Argument 1 passed to foo() must be an array, string given, called in /in/KNf8O on line 8 and defined in /in/KNf8O on line 3
Process exited with code 255.
Output for 5.1.0 - 5.1.6
3
Fatal error: Argument 1 passed to foo() must be an array, called in /in/KNf8O on line 8 and defined in /in/KNf8O on line 3
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_ARRAY, expecting '&' or T_VARIABLE in /in/KNf8O on line 3
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_ARRAY, expecting ')' in /in/KNf8O on line 3
Process exited with code 255.