- Output for 7.0.0 - 7.2.6
- Fatal error: Uncaught TypeError: Argument 1 passed to foo() must be of the type integer, string given, called in /in/X9mBY on line 8 and defined in /in/X9mBY:5
Stack trace:
#0 /in/X9mBY(8): foo('test')
#1 {main}
thrown in /in/X9mBY on line 5
Process exited with code 255. - Output for 5.3.22 - 5.6.28
- Warning: Unsupported declare 'strict_types' in /in/X9mBY on line 3
Catchable fatal error: Argument 1 passed to foo() must be an instance of int, string given, called in /in/X9mBY on line 8 and defined in /in/X9mBY on line 5
Process exited with code 255.