Fatal error: Uncaught TypeError: fct_add(): Return value must be of type float, string returned in /in/1APfE:3
Stack trace:
#0 /in/1APfE(6): fct_add(0.1, 0.2)
#1 {main}
thrown in /in/1APfE on line 3
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
Fatal error: Uncaught TypeError: fct_add(): Return value must be of type float, string returned in /in/1APfE:3
Stack trace:
#0 /in/1APfE(6): fct_add(0.1, 0.2)
#1 {main}
thrown in /in/1APfE on line 3
Process exited with code 255.
Output for 7.4.0 - 7.4.33
Deprecated: The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence in /in/1APfE on line 3
Warning: A non-numeric value encountered in /in/1APfE on line 3
0.2