Fatal error: Uncaught TypeError: date_diff(): Argument #2 ($targetObject) must be of type DateTimeInterface, false given in /in/U8TVI:4
Stack trace:
#0 /in/U8TVI(4): date_diff(Object(DateTime), false)
#1 {main}
thrown in /in/U8TVI on line 4
Process exited with code 255.
Fatal error: Uncaught TypeError: date_diff(): Argument #2 ($targetObject) must be of type DateTimeInterface, bool given in /in/U8TVI:4
Stack trace:
#0 /in/U8TVI(4): date_diff(Object(DateTime), false)
#1 {main}
thrown in /in/U8TVI on line 4
Process exited with code 255.
Output for 7.3.12 - 7.3.33, 7.4.0 - 7.4.33
Warning: date_diff() expects parameter 2 to be DateTimeInterface, bool given in /in/U8TVI on line 4