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