Fatal error: Uncaught ArgumentCountError: Too few arguments to function foo(), 2 passed in /in/k1u1Z on line 8 and exactly 3 expected in /in/k1u1Z:3
Stack trace:
#0 /in/k1u1Z(8): foo(1, 2)
#1 {main}
thrown in /in/k1u1Z 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 ArgumentCountError: Too few arguments to function foo(), 2 passed in /in/k1u1Z on line 8 and exactly 3 expected in /in/k1u1Z:3
Stack trace:
#0 /in/k1u1Z(8): foo(1, 2)
#1 {main}
thrown in /in/k1u1Z on line 3
Process exited with code 255.
Warning: Missing argument 3 for foo(), called in /in/k1u1Z on line 8 and defined in /in/k1u1Z on line 3
Notice: Undefined variable: c in /in/k1u1Z on line 5
3