Fatal error: Uncaught TypeError: date_format(): Argument #1 ($object) must be of type DateTimeInterface, int given in /in/IBbpH:3
Stack trace:
#0 /in/IBbpH(3): date_format(1449702000, 'YYYY-mm-dd')
#1 {main}
thrown in /in/IBbpH on line 3
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_format(): Argument #1 ($object) must be of type DateTimeInterface, int given in /in/IBbpH:3
Stack trace:
#0 /in/IBbpH(3): date_format(1449702000, 'YYYY-mm-dd')
#1 {main}
thrown in /in/IBbpH on line 3
Process exited with code 255.
Output for 8.0.13
Fatal error: Uncaught TypeError: date_format(): Argument #1 ($object) must be of type DateTimeInterface, int given in /in/IBbpH:3
Stack trace:
#0 /in/IBbpH(3): date_format(1449705600, 'YYYY-mm-dd')
#1 {main}
thrown in /in/IBbpH on line 3
Process exited with code 255.
Output for 7.3.16 - 7.3.33, 7.4.0 - 7.4.33
Warning: date_format() expects parameter 1 to be DateTimeInterface, int given in /in/IBbpH on line 3
bool(false)
Fatal error: Uncaught Error: Class 'Date' not found in /in/IBbpH:4
Stack trace:
#0 {main}
thrown in /in/IBbpH on line 4
Process exited with code 255.
Warning: date_format() expects parameter 1 to be DateTimeInterface, integer given in /in/IBbpH on line 3
bool(false)
Fatal error: Uncaught Error: Class 'Date' not found in /in/IBbpH:4
Stack trace:
#0 {main}
thrown in /in/IBbpH on line 4
Process exited with code 255.
Output for 5.5.24 - 5.5.35, 5.6.8 - 5.6.28
Warning: date_format() expects parameter 1 to be DateTimeInterface, integer given in /in/IBbpH on line 3
bool(false)
Fatal error: Class 'Date' not found in /in/IBbpH on line 4
Process exited with code 255.