Fatal error: Uncaught TypeError: foo(): Argument #1 ($a) must be of type int, float given, called in /in/C0QMB on line 10 and defined in /in/C0QMB:6
Stack trace:
#0 /in/C0QMB(10): foo(123.5)
#1 {main}
thrown in /in/C0QMB on line 6
Process exited with code 255.
Output for 7.3.0 - 7.3.33, 7.4.0 - 7.4.33
Fatal error: Uncaught TypeError: Argument 1 passed to foo() must be of the type int, float given, called in /in/C0QMB on line 10 and defined in /in/C0QMB:6
Stack trace:
#0 /in/C0QMB(10): foo(123.5)
#1 {main}
thrown in /in/C0QMB on line 6
Process exited with code 255.
Fatal error: Uncaught TypeError: Argument 1 passed to foo() must be of the type integer, float given, called in /in/C0QMB on line 10 and defined in /in/C0QMB:6
Stack trace:
#0 /in/C0QMB(10): foo(123.5)
#1 {main}
thrown in /in/C0QMB on line 6
Process exited with code 255.
Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.40
Warning: Unsupported declare 'strict_types' in /in/C0QMB on line 2