Fatal error: Uncaught TypeError: test(): Argument #1 ($obj) must be of type stdClass, string given, called in /in/qjlWr on line 8 and defined in /in/qjlWr:4
Stack trace:
#0 /in/qjlWr(8): test('a')
#1 {main}
thrown in /in/qjlWr on line 4
Process exited with code 255.
Fatal error: Uncaught TypeError: Argument 1 passed to test() must be an instance of stdClass, string given, called in /in/qjlWr on line 8 and defined in /in/qjlWr:4
Stack trace:
#0 /in/qjlWr(8): test('a')
#1 {main}
thrown in /in/qjlWr on line 4
Process exited with code 255.
Catchable fatal error: Argument 1 passed to test() must be an instance of stdClass, string given, called in /in/qjlWr on line 8 and defined in /in/qjlWr on line 4
Process exited with code 255.
Output for 5.1.0 - 5.1.6
Fatal error: Argument 1 passed to test() must be an object of class stdClass, called in /in/qjlWr on line 8 and defined in /in/qjlWr on line 4
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Fatal error: Argument 1 must be an object of class stdClass in /in/qjlWr on line 4
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STRING, expecting ')' in /in/qjlWr on line 4
Process exited with code 255.