Fatal error: Uncaught TypeError: Foo::bar(): Argument #1 ($arg) must be of type int, string given, called in /in/lE0mE on line 13 and defined in /in/lE0mE:5
Stack trace:
#0 /in/lE0mE(13): Foo->bar('foo')
#1 {main}
thrown in /in/lE0mE on line 5
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::bar() must be of the type int, string given, called in /in/lE0mE on line 13 and defined in /in/lE0mE:5
Stack trace:
#0 /in/lE0mE(13): Foo->bar('foo')
#1 {main}
thrown in /in/lE0mE on line 5
Process exited with code 255.
Fatal error: Uncaught TypeError: Argument 1 passed to Foo::bar() must be of the type integer, string given, called in /in/lE0mE on line 13 and defined in /in/lE0mE:5
Stack trace:
#0 /in/lE0mE(13): Foo->bar('foo')
#1 {main}
thrown in /in/lE0mE on line 5
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::bar() must be an instance of int, string given, called in /in/lE0mE on line 13 and defined in /in/lE0mE on line 5
Process exited with code 255.