Fatal error: Uncaught TypeError: date_format(): Argument #1 ($object) must be of type DateTimeInterface, int given in /in/8feRY:3
Stack trace:
#0 /in/8feRY(3): date_format(1449702000, 'YYYY-mm-dd')
#1 {main}
thrown in /in/8feRY 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/8feRY:3
Stack trace:
#0 /in/8feRY(3): date_format(1449705600, 'YYYY-mm-dd')
#1 {main}
thrown in /in/8feRY on line 3
Process exited with code 255.
Output for 7.3.0 - 7.3.31, 7.4.0 - 7.4.33
Warning: date_format() expects parameter 1 to be DateTimeInterface, int given in /in/8feRY on line 3
bool(false)
int(1449702000)
Output for 7.3.32 - 7.3.33
Warning: date_format() expects parameter 1 to be DateTimeInterface, int given in /in/8feRY on line 3
bool(false)
int(1449705600)