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 (first day of week) at position 13 (w): The timezone could not be found in the database in /in/UIRC4:26
Stack trace:
#0 /in/UIRC4(26): DateTime->modify('first day of we...')
#1 {main}
thrown in /in/UIRC4 on line 26
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 (first day of week) at position 13 (w): The timezone could not be found in the database in /in/UIRC4:26
Stack trace:
#0 /in/UIRC4(26): DateTime->modify('first day of we...')
#1 {main}
thrown in /in/UIRC4 on line 26
Process exited with code 255.
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"
}
Warning: DateTime::modify(): Failed to parse time string (first day of week) at position 13 (w): The timezone could not be found in the database in /in/UIRC4 on line 26
Warning: 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/UIRC4 on line 27
object(DateTime)#5 (3) {
["date"]=>
string(26) "2017-06-01 00:00:00.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
object(DateTime)#3 (3) {
["date"]=>
string(26) "2017-06-01 00:00:00.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
Output for 7.3.32 - 7.3.33, 8.0.13
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(3) "UTC"
}
object(DateTime)#4 (3) {
["date"]=>
string(26) "2017-07-02 23:59:59.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(3) "UTC"
}
Warning: DateTime::modify(): Failed to parse time string (first day of week) at position 13 (w): The timezone could not be found in the database in /in/UIRC4 on line 26
Warning: 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/UIRC4 on line 27
object(DateTime)#5 (3) {
["date"]=>
string(26) "2017-06-01 00:00:00.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(3) "UTC"
}
object(DateTime)#3 (3) {
["date"]=>
string(26) "2017-06-01 00:00:00.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(3) "UTC"
}