Fatal error: Uncaught TypeError: setcookie(): Argument #4 ($path) must be of type string, array given in /in/52qe6:3
Stack trace:
#0 /in/52qe6(3): setcookie('b', 'a', 0, Array)
#1 {main}
thrown in /in/52qe6 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: setcookie(): Argument #4 ($path) must be of type string, array given in /in/52qe6:3
Stack trace:
#0 /in/52qe6(3): setcookie('b', 'a', 0, Array)
#1 {main}
thrown in /in/52qe6 on line 3
Process exited with code 255.
Warning: setcookie() expects parameter 4 to be string, array given in /in/52qe6 on line 3
Warning: setcookie() expects at most 7 parameters, 8 given in /in/52qe6 on line 4