- Output for 5.3.0 - 5.3.26, 5.4.0 - 5.4.16
- Parse error: syntax error, unexpected ';' in /in/OAIaJ on line 5
Process exited with code 255.
<?php
$today = getdate();
$last2Months = getdate(strtotime("2 months ago", $today[0]));
var_dump($last2Months);
$nextMonth = getdate(strtotime("+1 month",$last2Months[0]);
var_dump($nextMonth);