string(2) "22"
string(2) "26"
object(DateTime)#3 (3) {
["date"]=>
string(26) "2017-05-29 00:00:00.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
object(DateTime)#4 (3) {
["date"]=>
string(26) "2017-07-02 23:59:59.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
Fatal error: Uncaught DateMalformedStringException: DateTime::modify(): Failed to parse time string (last day of week) at position 12 (w): The timezone could not be found in the database in /in/GBJtK:27
Stack trace:
#0 /in/GBJtK(27): DateTime->modify('last day of wee...')
#1 {main}
thrown in /in/GBJtK on line 27
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
string(2) "22"
string(2) "26"
object(DateTime)#3 (3) {
["date"]=>
string(26) "2017-05-29 00:00:00.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
object(DateTime)#4 (3) {
["date"]=>
string(26) "2017-07-02 23:59:59.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
Fatal error: Uncaught DateMalformedStringException: DateTime::modify(): Failed to parse time string (last day of week) at position 12 (w): The timezone could not be found in the database in /in/GBJtK:27
Stack trace:
#0 /in/GBJtK(27): DateTime->modify('last day of wee...')
#1 {main}
thrown in /in/GBJtK on line 27
Process exited with code 255.