Deprecated: DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated in /in/2i816 on line 3
object(DateTime)#2 (3) {
["date"]=>
string(26) "2015-10-22 03:47:44.000000"
["timezone_type"]=>
int(2)
["timezone"]=>
string(4) "AEDT"
}
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
Deprecated: DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated in /in/2i816 on line 3
object(DateTime)#2 (3) {
["date"]=>
string(26) "2015-10-22 03:47:44.000000"
["timezone_type"]=>
int(2)
["timezone"]=>
string(4) "AEDT"
}
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (2015-10-22 03:47:44 AEDT) at position 20 (A): The timezone could not be found in the database' in /in/2i816:4
Stack trace:
#0 /in/2i816(4): DateTime->__construct('2015-10-22 03:4...')
#1 {main}
thrown in /in/2i816 on line 4
Process exited with code 255.
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (2015-10-22 03:47:45 AEDT) at position 20 (A): The timezone could not be found in the database' in /in/2i816:4
Stack trace:
#0 /in/2i816(4): DateTime->__construct('2015-10-22 03:4...')
#1 {main}
thrown in /in/2i816 on line 4
Process exited with code 255.