Fatal error: Uncaught TypeError: date_diff(): Argument #1 ($baseObject) must be of type DateTimeInterface, string given in /in/QQIeT:4
Stack trace:
#0 /in/QQIeT(4): date_diff('January 21, 201...', 'January 17, 197...')
#1 {main}
thrown in /in/QQIeT on line 4
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
Fatal error: Uncaught TypeError: date_diff(): Argument #1 ($baseObject) must be of type DateTimeInterface, string given in /in/QQIeT:4
Stack trace:
#0 /in/QQIeT(4): date_diff('January 21, 201...', 'January 17, 197...')
#1 {main}
thrown in /in/QQIeT on line 4
Process exited with code 255.
Warning: date_diff() expects parameter 1 to be DateTimeInterface, string given in /in/QQIeT on line 4
January 17, 1970, 8:43 pmJanuary 21, 2016, 8:15 pm
Output for 7.3.32 - 7.3.33
Warning: date_diff() expects parameter 1 to be DateTimeInterface, string given in /in/QQIeT on line 4
January 17, 1970, 7:43 pmJanuary 21, 2016, 7:15 pm
Output for 5.5.0 - 5.5.7
Warning: date_diff() expects parameter 1 to be DateTime, string given in /in/QQIeT on line 4
January 17, 1970, 8:43 pmJanuary 21, 2016, 8:15 pm