3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $today = getdate(); $last2Months = getdate(strtotime("2 months ago", $today[0])); var_dump($last2Months); $nextMonth = getdate(strtotime("+1 month",$last2Months[0]); var_dump($nextMonth);
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.3.0 - 5.4.16
Parse error: syntax error, unexpected ';' in /in/OAIaJ on line 5
Process exited with code 255.