- Output for 5.3.7 - 5.3.28, 5.4.0 - 5.4.26
- Parse error: syntax error, unexpected ';' in /in/hAIKi on line 4
Process exited with code 255.
<?php
$date = new DateTime('2016-03-30');
$month = DateInterval::createFromDateString('1 month');
var_dump(DateTime::sub($date, $month);