DateTime Object
(
[date] => 2016-05-16 08:33:32.000000
[timezone_type] => 1
[timezone] => +00:00
)
Fatal error: Uncaught TypeError: DateTime::setTimezone(): Argument #1 ($timezone) must be of type DateTimeZone, string given in /in/FQOIl:5
Stack trace:
#0 /in/FQOIl(5): DateTime->setTimezone('Europe/London')
#1 {main}
thrown in /in/FQOIl on line 5
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
DateTime Object
(
[date] => 2016-05-16 08:33:32.000000
[timezone_type] => 1
[timezone] => +00:00
)
Fatal error: Uncaught TypeError: DateTime::setTimezone(): Argument #1 ($timezone) must be of type DateTimeZone, string given in /in/FQOIl:5
Stack trace:
#0 /in/FQOIl(5): DateTime->setTimezone('Europe/London')
#1 {main}
thrown in /in/FQOIl on line 5
Process exited with code 255.
DateTime Object
(
[date] => 2016-05-16 08:33:32.000000
[timezone_type] => 1
[timezone] => +00:00
)
Warning: DateTime::setTimezone() expects parameter 1 to be DateTimeZone, string given in /in/FQOIl on line 5
Output for 5.5.0 - 5.5.13
DateTime Object
(
[date] => 2016-05-16 08:33:32
[timezone_type] => 1
[timezone] => +00:00
)
Warning: DateTime::setTimezone() expects parameter 1 to be DateTimeZone, string given in /in/FQOIl on line 5