bar(123)
Fatal error: Uncaught TypeError: Foo::bar(): Argument #1 ($i) must be of type int, string given, called in /in/MEqDv on line 17 and defined in /in/MEqDv:10
Stack trace:
#0 /in/MEqDv(17): Foo->bar('abc')
#1 {main}
thrown in /in/MEqDv on line 10
Process exited with code 255.
Output for 7.3.0 - 7.3.33, 7.4.0 - 7.4.33
bar(123)
Fatal error: Uncaught TypeError: Argument 1 passed to Foo::bar() must be of the type int, string given, called in /in/MEqDv on line 17 and defined in /in/MEqDv:10
Stack trace:
#0 /in/MEqDv(17): Foo->bar('abc')
#1 {main}
thrown in /in/MEqDv on line 10
Process exited with code 255.
bar(123)
Fatal error: Uncaught TypeError: Argument 1 passed to Foo::bar() must be of the type integer, string given, called in /in/MEqDv on line 17 and defined in /in/MEqDv:10
Stack trace:
#0 /in/MEqDv(17): Foo->bar('abc')
#1 {main}
thrown in /in/MEqDv on line 10
Process exited with code 255.
Output for 5.6.0 - 5.6.40
Catchable fatal error: Argument 1 passed to Foo::bar() must be an instance of int, integer given, called in /in/MEqDv on line 16 and defined in /in/MEqDv on line 10
Process exited with code 255.