Fatal error: Uncaught TypeError: test(): Return value must be of type X, null returned in /in/8m8QG:5
Stack trace:
#0 /in/8m8QG(8): test(123)
#1 {main}
thrown in /in/8m8QG on line 5
Process exited with code 255.
Fatal error: Uncaught TypeError: Return value of test() must be an instance of X, null returned in /in/8m8QG:5
Stack trace:
#0 /in/8m8QG(8): test(123)
#1 {main}
thrown in /in/8m8QG on line 5
Process exited with code 255.
Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.40
Parse error: syntax error, unexpected ':', expecting '{' in /in/8m8QG on line 4
Process exited with code 255.