3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $it = strtotime('2013-10-08') + 7 * 24 * 3600; die(date("Y-m-d H:i:s", $it)); for($i=0; $i<=15; $i++) { echo date("Y-m-d h:i:s", $it + $i * 24 * 3600) . "\n"; }
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
2013-10-15 00:00:00