int(123)
int(123)
Fatal error: Uncaught TypeError: foo(): Argument #1 ($foo) must be of type int, string given, called in /in/59c7R on line 9 and defined in /in/59c7R:3
Stack trace:
#0 /in/59c7R(9): foo('foo', 'bar')
#1 {main}
thrown in /in/59c7R on line 3
Process exited with code 255.
Output for 7.3.0 - 7.3.33, 7.4.0 - 7.4.33
int(123)
int(123)
Fatal error: Uncaught TypeError: Argument 1 passed to foo() must be of the type int, string given, called in /in/59c7R on line 9 and defined in /in/59c7R:3
Stack trace:
#0 /in/59c7R(9): foo('foo', 'bar')
#1 {main}
thrown in /in/59c7R on line 3
Process exited with code 255.
int(123)
int(123)
Fatal error: Uncaught TypeError: Argument 1 passed to foo() must be of the type integer, string given, called in /in/59c7R on line 9 and defined in /in/59c7R:3
Stack trace:
#0 /in/59c7R(9): foo('foo', 'bar')
#1 {main}
thrown in /in/59c7R on line 3
Process exited with code 255.
Output for 5.5.24 - 5.5.35, 5.6.8 - 5.6.28
Catchable fatal error: Argument 1 passed to foo() must be an instance of int, integer given, called in /in/59c7R on line 8 and defined in /in/59c7R on line 3
Process exited with code 255.