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
---init----
bool(true)
string(8) "fugafuga"
----------
bool(false)
string(3) "foo"
string(3) "bar"
----------
bool(true)
string(3) "foo"
string(8) "hogehoge"
string(8) "piyopiyo"
Output for 7.4.0 - 7.4.33
Fatal error: Uncaught Error: Class 'WeakMap' not found in /in/kBnZJ:18
Stack trace:
#0 /in/kBnZJ(51): CanCastBool::makeInstance('fugafuga')
#1 {main}
thrown in /in/kBnZJ on line 18
Process exited with code 255.
Output for 7.3.0 - 7.3.33
Parse error: syntax error, unexpected 'WeakMap' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /in/kBnZJ on line 6
Process exited with code 255.