Fatal error: Uncaught TypeError: ClassA::method_a(): Argument #1 ($b) must be of type ClassB, ClassWrong given, called in /in/3FNsC on line 18 and defined in /in/3FNsC:12
Stack trace:
#0 /in/3FNsC(18): ClassA->method_a(Object(ClassWrong))
#1 {main}
thrown in /in/3FNsC on line 12
Process exited with code 255.
Fatal error: Uncaught TypeError: Argument 1 passed to ClassA::method_a() must be an instance of ClassB, instance of ClassWrong given, called in /in/3FNsC on line 18 and defined in /in/3FNsC:12
Stack trace:
#0 /in/3FNsC(18): ClassA->method_a(Object(ClassWrong))
#1 {main}
thrown in /in/3FNsC on line 12
Process exited with code 255.
<br />
<b>Fatal error</b>: Class 'ClassB' not found in <b>/in/3FNsC</b> on line <b>12</b><br />
Process exited with code 255.
Output for 4.4.2 - 4.4.9
<br />
<b>Parse error</b>: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in <b>/in/3FNsC</b> on line <b>12</b><br />
Process exited with code 255.
<br />
<b>Parse error</b>: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in <b>/in/3FNsC</b> on line <b>12</b><br />
Process exited with code 255.
Output for 4.3.2 - 4.3.4
<br />
<b>Parse error</b>: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in <b>/in/3FNsC</b> on line <b>12</b><br />
Process exited with code 255.