Fatal error: Uncaught TypeError: test(): Argument #1 ($b) must be of type B, A given, called in /in/jGg5D on line 10 and defined in /in/jGg5D:5
Stack trace:
#0 /in/jGg5D(10): test(Object(A))
#1 {main}
thrown in /in/jGg5D on line 5
Process exited with code 255.
Fatal error: Uncaught TypeError: Argument 1 passed to test() must be an instance of B, instance of A given, called in /in/jGg5D on line 10 and defined in /in/jGg5D:5
Stack trace:
#0 /in/jGg5D(10): test(Object(A))
#1 {main}
thrown in /in/jGg5D on line 5
Process exited with code 255.
Notice: Use of undefined constant E_RECOVERABLE_ERROR - assumed 'E_RECOVERABLE_ERROR' in /in/jGg5D on line 8
Fatal error: Class 'B' not found in /in/jGg5D on line 5
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STRING, expecting ')' in /in/jGg5D on line 5
Process exited with code 255.