int(3)
Fatal error: Uncaught TypeError: sum(): Return value must be of type int, float returned in /in/NuKT1:5
Stack trace:
#0 /in/NuKT1(9): sum(1, 2.5)
#1 {main}
thrown in /in/NuKT1 on line 5
Process exited with code 255.
Output for 7.3.0 - 7.3.33, 7.4.0 - 7.4.33
int(3)
Fatal error: Uncaught TypeError: Return value of sum() must be of the type int, float returned in /in/NuKT1:5
Stack trace:
#0 /in/NuKT1(9): sum(1, 2.5)
#1 {main}
thrown in /in/NuKT1 on line 5
Process exited with code 255.
int(3)
Fatal error: Uncaught TypeError: Return value of sum() must be of the type integer, float returned in /in/NuKT1:5
Stack trace:
#0 /in/NuKT1(9): sum(1, 2.5)
#1 {main}
thrown in /in/NuKT1 on line 5
Process exited with code 255.
Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.40
Warning: Unsupported declare 'strict_types' in /in/NuKT1 on line 2
Parse error: syntax error, unexpected ':', expecting '{' in /in/NuKT1 on line 4
Process exited with code 255.