Got 3 bars.
Fatal error: Uncaught TypeError: foo(): Argument #1 must be of type Bar, int given, called in /in/BjYlm on line 13 and defined in /in/BjYlm:7
Stack trace:
#0 /in/BjYlm(13): foo(1, 2, 3)
#1 {main}
thrown in /in/BjYlm on line 7
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/BjYlm on line 13 and defined in /in/BjYlm:7
Stack trace:
#0 /in/BjYlm(13): foo(1, 2, 3)
#1 {main}
thrown in /in/BjYlm on line 7
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/BjYlm on line 13 and defined in /in/BjYlm:7
Stack trace:
#0 /in/BjYlm(13): foo(1, 2, 3)
#1 {main}
Next TypeError: Argument 2 passed to foo() must be an instance of Bar, int given, called in /in/BjYlm on line 13 and defined in /in/BjYlm:7
Stack trace:
#0 /in/BjYlm(13): foo(1, 2, 3)
#1 {main}
Next TypeError: Argument 3 passed to foo() must be an instance of Bar, int given, called in /in/BjYlm on line 13 and defined in /in/BjYlm:7
Stack trace:
#0 /in/BjYlm(13): foo(1, 2, 3)
#1 {main}
thrown in /in/BjYlm on line 7
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/BjYlm on line 13 and defined in /in/BjYlm:7
Stack trace:
#0 /in/BjYlm(13): foo(1, 2, 3)
#1 {main}
Next TypeError: Argument 2 passed to foo() must be an instance of Bar, integer given, called in /in/BjYlm on line 13 and defined in /in/BjYlm:7
Stack trace:
#0 /in/BjYlm(13): foo(1, 2, 3)
#1 {main}
Next TypeError: Argument 3 passed to foo() must be an instance of Bar, integer given, called in /in/BjYlm on line 13 and defined in /in/BjYlm:7
Stack trace:
#0 /in/BjYlm(13): foo(1, 2, 3)
#1 {main}
thrown in /in/BjYlm on line 7
Process exited with code 255.
Output for 5.6.0 - 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/BjYlm on line 13 and defined in /in/BjYlm on line 7
Process exited with code 255.
Output for 5.4.0 - 5.4.45, 5.5.0 - 5.5.38
Parse error: syntax error, unexpected '.', expecting '&' or variable (T_VARIABLE) in /in/BjYlm on line 7
Process exited with code 255.