no
Fatal error: Uncaught TypeError: foo(): Argument #1 ($a) must be of type array, ArrayObject given, called in /in/OYThE on line 16 and defined in /in/OYThE:12
Stack trace:
#0 /in/OYThE(16): foo(Object(ArrayObject))
#1 {main}
thrown in /in/OYThE on line 12
Process exited with code 255.
no
Fatal error: Uncaught TypeError: Argument 1 passed to foo() must be of the type array, object given, called in /in/OYThE on line 16 and defined in /in/OYThE:12
Stack trace:
#0 /in/OYThE(16): foo(Object(ArrayObject))
#1 {main}
thrown in /in/OYThE on line 12
Process exited with code 255.
no
Catchable fatal error: Argument 1 passed to foo() must be of the type array, object given, called in /in/OYThE on line 16 and defined in /in/OYThE on line 12
Process exited with code 255.