Fatal error: Uncaught TypeError: foo(): Argument #1 ($a) must be of type StdClass, string given, called in /in/1mcTJ on line 5 and defined in /in/1mcTJ:4
Stack trace:
#0 /in/1mcTJ(5): foo('13abc')
#1 {main}
thrown in /in/1mcTJ on line 4
Process exited with code 255.
Fatal error: Uncaught TypeError: Argument 1 passed to foo() must be an instance of stdClass, string given, called in /in/1mcTJ on line 5 and defined in /in/1mcTJ:4
Stack trace:
#0 /in/1mcTJ(5): foo('13abc')
#1 {main}
thrown in /in/1mcTJ on line 4
Process exited with code 255.