Fatal error: Uncaught TypeError: test(): Argument #1 ($a) must be of type int, string given, called in /in/T4WVn on line 7 and defined in /in/T4WVn:3
Stack trace:
#0 /in/T4WVn(7): test('10bananas')
#1 {main}
thrown in /in/T4WVn on line 3
Process exited with code 255.
Catchable fatal error: Argument 1 passed to test() must be an instance of int, string given, called in /in/T4WVn on line 7 and defined in /in/T4WVn on line 3
Process exited with code 255.