bar(): Argument #1 ($foo) must be of type int, float given, called in /in/H2Wg7 on line 9
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
bar(): Argument #1 ($foo) must be of type int, float given, called in /in/H2Wg7 on line 9
Output for 7.3.0 - 7.3.33, 7.4.0 - 7.4.33
Argument 1 passed to bar() must be of the type int, float given, called in /in/H2Wg7 on line 9
Warning: Unsupported declare 'strict_types' in /in/H2Wg7 on line 2
Catchable fatal error: Argument 1 passed to bar() must be an instance of int, double given, called in /in/H2Wg7 on line 9 and defined in /in/H2Wg7 on line 4
Process exited with code 255.