Fatal error: Uncaught TypeError: Argument 1 passed to foo() must be an instance of object or null, instance of stdClass given, called in /in/DnE91 on line 7 and defined in /in/DnE91:3
Stack trace:
#0 /in/DnE91(7): foo(Object(stdClass))
#1 {main}
thrown in /in/DnE91 on line 3
Process exited with code 255.
Output for 5.6.0 - 5.6.40, 7.0.0 - 7.0.33
Parse error: syntax error, unexpected '?', expecting variable (T_VARIABLE) in /in/DnE91 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/DnE91 on line 3
Process exited with code 255.