Fatal error: Uncaught TypeError: Foo::baz(): Argument #1 ($i) must be of type int, true given, called in /in/a45q7 on line 20 and defined in /in/a45q7:9
Stack trace:
#0 /in/a45q7(20): Foo->baz(true, Object(stdClass))
#1 {main}
thrown in /in/a45q7 on line 9
Process exited with code 255.
Fatal error: Uncaught TypeError: Foo::baz(): Argument #1 ($i) must be of type int, bool given, called in /in/a45q7 on line 20 and defined in /in/a45q7:9
Stack trace:
#0 /in/a45q7(20): Foo->baz(true, Object(stdClass))
#1 {main}
thrown in /in/a45q7 on line 9
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::baz() must be of the type int, bool given, called in /in/a45q7 on line 20 and defined in /in/a45q7:9
Stack trace:
#0 /in/a45q7(20): Foo->baz(true, Object(stdClass))
#1 {main}
thrown in /in/a45q7 on line 9
Process exited with code 255.
Fatal error: Uncaught TypeError: Argument 1 passed to Foo::baz() must be of the type integer, boolean given, called in /in/a45q7 on line 20 and defined in /in/a45q7:9
Stack trace:
#0 /in/a45q7(20): Foo->baz(true, Object(stdClass))
#1 {main}
thrown in /in/a45q7 on line 9
Process exited with code 255.
Output for 5.6.0 - 5.6.40
Warning: Unsupported declare 'strict_types' in /in/a45q7 on line 1
Parse error: syntax error, unexpected ':', expecting ';' or '{' in /in/a45q7 on line 9
Process exited with code 255.