Warning: "boolean" will be interpreted as a class name. Did you mean "bool"? Write "\boolean" to suppress this warning in /in/pcHnj on line 3
Fatal error: Uncaught TypeError: foo(): Argument #1 ($a) must be of type boolean, true given, called in /in/pcHnj on line 6 and defined in /in/pcHnj:3
Stack trace:
#0 /in/pcHnj(6): foo(true)
#1 {main}
thrown in /in/pcHnj on line 3
Process exited with code 255.
Warning: "boolean" will be interpreted as a class name. Did you mean "bool"? Write "\boolean" to suppress this warning in /in/pcHnj on line 3
Fatal error: Uncaught TypeError: foo(): Argument #1 ($a) must be of type boolean, bool given, called in /in/pcHnj on line 6 and defined in /in/pcHnj:3
Stack trace:
#0 /in/pcHnj(6): foo(true)
#1 {main}
thrown in /in/pcHnj on line 3
Process exited with code 255.
Output for 7.3.16 - 7.3.33, 7.4.0 - 7.4.33
Fatal error: Uncaught TypeError: Argument 1 passed to foo() must be an instance of boolean, bool given, called in /in/pcHnj on line 6 and defined in /in/pcHnj:3
Stack trace:
#0 /in/pcHnj(6): foo(true)
#1 {main}
thrown in /in/pcHnj on line 3
Process exited with code 255.
Fatal error: Uncaught TypeError: Argument 1 passed to foo() must be an instance of boolean, boolean given, called in /in/pcHnj on line 6 and defined in /in/pcHnj:3
Stack trace:
#0 /in/pcHnj(6): foo(true)
#1 {main}
thrown in /in/pcHnj on line 3
Process exited with code 255.
Catchable fatal error: Argument 1 passed to foo() must be an instance of boolean, boolean given, called in /in/pcHnj on line 6 and defined in /in/pcHnj on line 3
Process exited with code 255.
Output for 5.1.0 - 5.1.6
Fatal error: Argument 1 passed to foo() must be an object of class boolean, called in /in/pcHnj on line 6 and defined in /in/pcHnj on line 3
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Fatal error: Argument 1 must be an object of class boolean in /in/pcHnj on line 3
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STRING, expecting ')' in /in/pcHnj on line 3
Process exited with code 255.