Fatal error: Uncaught TypeError: date_modify(): Argument #1 ($object) must be of type DateTime, false given in /in/Y59I1:4
Stack trace:
#0 /in/Y59I1(4): date_modify(false, '+15 days')
#1 {main}
thrown in /in/Y59I1 on line 4
Process exited with code 255.
Fatal error: Uncaught TypeError: date_modify(): Argument #1 ($object) must be of type DateTime, bool given in /in/Y59I1:4
Stack trace:
#0 /in/Y59I1(4): date_modify(false, '+15 days')
#1 {main}
thrown in /in/Y59I1 on line 4
Process exited with code 255.
Output for 7.3.12 - 7.3.33, 7.4.0 - 7.4.33
Warning: date_modify() expects parameter 1 to be DateTime, bool given in /in/Y59I1 on line 4
Warning: date_format() expects parameter 1 to be DateTimeInterface, bool given in /in/Y59I1 on line 5
Warning: date_modify() expects parameter 1 to be DateTime, boolean given in /in/Y59I1 on line 4
Warning: date_format() expects parameter 1 to be DateTimeInterface, boolean given in /in/Y59I1 on line 5
Warning: date_modify() expects parameter 1 to be DateTime, boolean given in /in/Y59I1 on line 4
Warning: date_format() expects parameter 1 to be DateTime, boolean given in /in/Y59I1 on line 5
Output for 5.2.0 - 5.2.5
Warning: date_create(): Failed to parse time string (d-m-Y h:i:s) at position 1 (-): Unexpected character in /in/Y59I1 on line 3
2014-02-07
Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.6
Fatal error: Call to undefined function date_create() in /in/Y59I1 on line 3
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: date_create() in /in/Y59I1 on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.4
Fatal error: Call to undefined function: date_create() in /in/Y59I1 on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: date_create() in /in/Y59I1 on line 3