Fatal error: Uncaught TypeError: foo(): Argument #1 ($a) must be of type ArrayAccess, array given, called in /in/oUboa on line 7 and defined in /in/oUboa:3
Stack trace:
#0 /in/oUboa(7): foo(Array)
#1 {main}
thrown in /in/oUboa on line 3
Process exited with code 255.
Fatal error: Uncaught TypeError: Argument 1 passed to foo() must implement interface ArrayAccess, array given, called in /in/oUboa on line 7 and defined in /in/oUboa:3
Stack trace:
#0 /in/oUboa(7): foo(Array)
#1 {main}
thrown in /in/oUboa on line 3
Process exited with code 255.
Output for 5.5.24 - 5.5.35, 5.6.8 - 5.6.28
Catchable fatal error: Argument 1 passed to foo() must implement interface ArrayAccess, array given, called in /in/oUboa on line 7 and defined in /in/oUboa on line 3
Process exited with code 255.