Fatal error: Uncaught TypeError: foo(): Return value must be of type int, null returned in /in/HV0QI:4
Stack trace:
#0 /in/HV0QI(7): foo()
#1 {main}
thrown in /in/HV0QI on line 4
Process exited with code 255.
Output for 7.3.0 - 7.3.33, 7.4.0 - 7.4.33
Fatal error: Uncaught TypeError: Return value of foo() must be of the type int, null returned in /in/HV0QI:4
Stack trace:
#0 /in/HV0QI(7): foo()
#1 {main}
thrown in /in/HV0QI on line 4
Process exited with code 255.
Fatal error: Uncaught TypeError: Return value of foo() must be of the type integer, null returned in /in/HV0QI:4
Stack trace:
#0 /in/HV0QI(7): foo()
#1 {main}
thrown in /in/HV0QI on line 4
Process exited with code 255.
Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.38
Parse error: syntax error, unexpected ':', expecting '{' in /in/HV0QI on line 3
Process exited with code 255.