test
Fatal error: Uncaught TypeError: foo(): Return value must be of type string, none returned in /in/s9V0K:8
Stack trace:
#0 /in/s9V0K(10): foo()
#1 {main}
thrown in /in/s9V0K on line 8
Process exited with code 255.
test
Fatal error: Uncaught TypeError: Return value of foo() must be of the type string, none returned in /in/s9V0K:8
Stack trace:
#0 /in/s9V0K(10): foo()
#1 {main}
thrown in /in/s9V0K on line 8
Process exited with code 255.
Output for 5.5.24 - 5.5.35, 5.6.8 - 5.6.21
Warning: Unsupported declare 'strict_types' in /in/s9V0K on line 3
Parse error: syntax error, unexpected ':', expecting '{' in /in/s9V0K on line 6
Process exited with code 255.