object(DateTime)#1 (3) {
["date"]=>
string(26) "2018-10-28 00:00:00.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
Fatal error: Uncaught Error: Call to a member function diff() on string in /in/Tic7D:34
Stack trace:
#0 /in/Tic7D(44): is_today()
#1 {main}
thrown in /in/Tic7D on line 34
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
object(DateTime)#1 (3) {
["date"]=>
string(26) "2018-10-28 00:00:00.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
Fatal error: Uncaught Error: Call to a member function diff() on string in /in/Tic7D:34
Stack trace:
#0 /in/Tic7D(44): is_today()
#1 {main}
thrown in /in/Tic7D on line 34
Process exited with code 255.
Output for 7.3.32 - 7.3.33, 8.0.13
object(DateTime)#1 (3) {
["date"]=>
string(26) "2018-10-28 00:00:00.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(3) "UTC"
}
Fatal error: Uncaught Error: Call to a member function diff() on string in /in/Tic7D:34
Stack trace:
#0 /in/Tic7D(44): is_today()
#1 {main}
thrown in /in/Tic7D on line 34
Process exited with code 255.
Output for 7.4.6
object(DateTime)#1 (3) {
["date"]=>
string(26) "2020-05-18 00:00:00.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(16) "Europe/Amsterdam"
}
Fatal error: Uncaught Error: Call to a member function diff() on string in /in/Tic7D:34
Stack trace:
#0 /in/Tic7D(44): is_today()
#1 {main}
thrown in /in/Tic7D on line 34
Process exited with code 255.