Got 3 bars.
Fatal error: Uncaught TypeError: foo(): Argument #1 must be of type Bar, int given, called in /in/JX3MC on line 16 and defined in /in/JX3MC:5
Stack trace:
#0 /in/JX3MC(16): foo(1, 2, 3)
#1 {main}
thrown in /in/JX3MC on line 5
Process exited with code 255.
Output for 7.4.0 - 7.4.33
Got 3 bars.
Fatal error: Uncaught TypeError: Argument 1 passed to foo() must be an instance of Bar, int given, called in /in/JX3MC on line 16 and defined in /in/JX3MC:5
Stack trace:
#0 /in/JX3MC(16): foo(1, 2, 3)
#1 {main}
thrown in /in/JX3MC on line 5
Process exited with code 255.
Output for 7.3.0 - 7.3.33
Got 3 bars.
Fatal error: Uncaught TypeError: Argument 1 passed to foo() must be an instance of Bar, int given, called in /in/JX3MC on line 16 and defined in /in/JX3MC:5
Stack trace:
#0 /in/JX3MC(16): foo(1, 2, 3)
#1 {main}
Next TypeError: Argument 2 passed to foo() must be an instance of Bar, int given, called in /in/JX3MC on line 16 and defined in /in/JX3MC:5
Stack trace:
#0 /in/JX3MC(16): foo(1, 2, 3)
#1 {main}
Next TypeError: Argument 3 passed to foo() must be an instance of Bar, int given, called in /in/JX3MC on line 16 and defined in /in/JX3MC:5
Stack trace:
#0 /in/JX3MC(16): foo(1, 2, 3)
#1 {main}
thrown in /in/JX3MC on line 5
Process exited with code 255.
Got 3 bars.
Fatal error: Uncaught TypeError: Argument 1 passed to foo() must be an instance of Bar, integer given, called in /in/JX3MC on line 16 and defined in /in/JX3MC:5
Stack trace:
#0 /in/JX3MC(16): foo(1, 2, 3)
#1 {main}
Next TypeError: Argument 2 passed to foo() must be an instance of Bar, integer given, called in /in/JX3MC on line 16 and defined in /in/JX3MC:5
Stack trace:
#0 /in/JX3MC(16): foo(1, 2, 3)
#1 {main}
Next TypeError: Argument 3 passed to foo() must be an instance of Bar, integer given, called in /in/JX3MC on line 16 and defined in /in/JX3MC:5
Stack trace:
#0 /in/JX3MC(16): foo(1, 2, 3)
#1 {main}
thrown in /in/JX3MC on line 5
Process exited with code 255.
Output for 5.6.7 - 5.6.28
Got 3 bars.
Catchable fatal error: Argument 1 passed to foo() must be an instance of Bar, integer given, called in /in/JX3MC on line 16 and defined in /in/JX3MC on line 5
Process exited with code 255.
Output for 5.4.0 - 5.4.45, 5.5.24 - 5.5.35
Parse error: syntax error, unexpected '.', expecting '&' or variable (T_VARIABLE) in /in/JX3MC on line 5
Process exited with code 255.