La somme de 9 + 14 = 23
Fatal error: Uncaught TypeError: sum_int(): Argument #1 ($a) must be of type int, float given, called in /in/mYiNa on line 31 and defined in /in/mYiNa:5
Stack trace:
#0 /in/mYiNa(31): sum_int(1.895, 8.105)
#1 {main}
thrown in /in/mYiNa on line 5
Process exited with code 255.
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
La somme de 9 + 14 = 23
Fatal error: Uncaught TypeError: sum_int(): Argument #1 ($a) must be of type int, float given, called in /in/mYiNa on line 31 and defined in /in/mYiNa:5
Stack trace:
#0 /in/mYiNa(31): sum_int(1.895, 8.105)
#1 {main}
thrown in /in/mYiNa on line 5
Process exited with code 255.
Output for 7.3.16 - 7.3.33, 7.4.0 - 7.4.33
La somme de 9 + 14 = 23
Fatal error: Uncaught TypeError: Argument 1 passed to sum_int() must be of the type int, float given, called in /in/mYiNa on line 31 and defined in /in/mYiNa:5
Stack trace:
#0 /in/mYiNa(31): sum_int(1.895, 8.105)
#1 {main}
thrown in /in/mYiNa on line 5
Process exited with code 255.
La somme de 9 + 14 = 23
Fatal error: Uncaught TypeError: Argument 1 passed to sum_int() must be of the type integer, float given, called in /in/mYiNa on line 31 and defined in /in/mYiNa:5
Stack trace:
#0 /in/mYiNa(31): sum_int(1.895, 8.105)
#1 {main}
thrown in /in/mYiNa on line 5
Process exited with code 255.
Warning: Unsupported declare 'strict_types' in /in/mYiNa on line 3
Parse error: syntax error, unexpected ':', expecting '{' in /in/mYiNa on line 5
Process exited with code 255.