3v4l.org

run code in 200+ 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 - 7.1.7
1383174000<br/>1380578400<br/>2013-10-01