3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo $this_year = date("Y", strtotime("-6 month")); echo $this_year - 1; ?>
Output for 4.3.0 - 7.1.0
20122011