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
test: 2019-03-04T00:00:00 expected: 2019-03-04 diff->days: 31 zone: UTC
test: 2019-03-04T00:00:00 expected: 2019-03-04 diff->days: 31 zone: Etc/GMT+12
test: 2019-03-04T00:00:00 expected: 2019-03-04 diff->days: 31 zone: Etc/GMT-12
test: 2019-03-04T00:00:00 expected: 2019-03-04 diff->days: 31 zone: Cuba
test: 2019-03-04T00:00:00 expected: 2019-03-04 diff->days: 31 zone: Japan
test: 2019-03-04T00:00:00 expected: 2019-03-04 diff->days: 31 zone: Atlantic/Azores
test: 2019-03-04T00:00:00 expected: 2019-03-04 diff->days: 31 zone: Europe/Berlin
Output for 8.1.14, 8.2.1
test: 2019-03-04T00:00:00 expected: 2019-03-04 diff->days: 31 zone: UTC
Warning: timezone_open(): Unknown or bad timezone (Etc/GMT+12) in /in/LVQDJ on line 18
Fatal error: Uncaught TypeError: date_create(): Argument #2 ($timezone) must be of type ?DateTimeZone, bool given in /in/LVQDJ:19
Stack trace:
#0 /in/LVQDJ(19): date_create('2019-02-01', false)
#1 {main}
thrown in /in/LVQDJ on line 19
Process exited with code 255.