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