array(1) {
[0]=>
object(stdClass)#1 (0) {
}
}
Fatal error: Uncaught TypeError: foo(): Argument #1 must be of type stdClass, int given, called in /in/LhESX on line 9 and defined in /in/LhESX:3
Stack trace:
#0 /in/LhESX(9): foo(1, 2, 3)
#1 {main}
thrown in /in/LhESX on line 3
Process exited with code 255.
Output for 7.4.0 - 7.4.33
array(1) {
[0]=>
object(stdClass)#1 (0) {
}
}
Fatal error: Uncaught TypeError: Argument 1 passed to foo() must be an instance of stdClass, int given, called in /in/LhESX on line 9 and defined in /in/LhESX:3
Stack trace:
#0 /in/LhESX(9): foo(1, 2, 3)
#1 {main}
thrown in /in/LhESX on line 3
Process exited with code 255.
Output for 7.3.0 - 7.3.33
array(1) {
[0]=>
object(stdClass)#1 (0) {
}
}
Fatal error: Uncaught TypeError: Argument 1 passed to foo() must be an instance of stdClass, int given, called in /in/LhESX on line 9 and defined in /in/LhESX:3
Stack trace:
#0 /in/LhESX(9): foo(1, 2, 3)
#1 {main}
Next TypeError: Argument 2 passed to foo() must be an instance of stdClass, int given, called in /in/LhESX on line 9 and defined in /in/LhESX:3
Stack trace:
#0 /in/LhESX(9): foo(1, 2, 3)
#1 {main}
Next TypeError: Argument 3 passed to foo() must be an instance of stdClass, int given, called in /in/LhESX on line 9 and defined in /in/LhESX:3
Stack trace:
#0 /in/LhESX(9): foo(1, 2, 3)
#1 {main}
thrown in /in/LhESX on line 3
Process exited with code 255.
array(1) {
[0]=>
object(stdClass)#1 (0) {
}
}
Fatal error: Uncaught TypeError: Argument 1 passed to foo() must be an instance of stdClass, integer given, called in /in/LhESX on line 9 and defined in /in/LhESX:3
Stack trace:
#0 /in/LhESX(9): foo(1, 2, 3)
#1 {main}
Next TypeError: Argument 2 passed to foo() must be an instance of stdClass, integer given, called in /in/LhESX on line 9 and defined in /in/LhESX:3
Stack trace:
#0 /in/LhESX(9): foo(1, 2, 3)
#1 {main}
Next TypeError: Argument 3 passed to foo() must be an instance of stdClass, integer given, called in /in/LhESX on line 9 and defined in /in/LhESX:3
Stack trace:
#0 /in/LhESX(9): foo(1, 2, 3)
#1 {main}
thrown in /in/LhESX on line 3
Process exited with code 255.
Output for 5.6.0 - 5.6.40
array(1) {
[0]=>
object(stdClass)#1 (0) {
}
}
Catchable fatal error: Argument 1 passed to foo() must be an instance of stdClass, integer given, called in /in/LhESX on line 9 and defined in /in/LhESX on line 3
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/LhESX on line 3
Process exited with code 255.