function foo(string $s) {}
foo("hello world");\n\n
Catchable fatal error: Argument 1 passed to foo() must be an instance of string, string given, called in /in/6CEqf on line 5 and defined in /in/6CEqf on line 4
Process exited with code 255.
Output for 5.1.0 - 5.1.6
function foo(string $s) {}
foo("hello world");\n\n
Fatal error: Argument 1 passed to foo() must be an object of class string, called in /in/6CEqf on line 5 and defined in /in/6CEqf on line 4
Process exited with code 255.
Output for 5.0.0 - 5.0.5
function foo(string $s) {}
foo("hello world");\n\n
Fatal error: Argument 1 must be an object of class string in /in/6CEqf 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/6CEqf on line 4
Process exited with code 255.