3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo $drst = strtotime('2013-10-31 00:00:00'); echo '<br/>'; echo $drstRev = strtotime('-1 month', $drst); echo '<br/>'; echo date('Y-m-d', $drstRev); ?>
Output for 4.3.0 - 5.6.25, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
1383174000<br/>1380578400<br/>2013-10-01