3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $it = strtotime('2013-10-08') + 7 * 24 * 3600; 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 2013-10-16 00:00:00 2013-10-17 00:00:00 2013-10-18 00:00:00 2013-10-19 00:00:00 2013-10-20 00:00:00 2013-10-21 00:00:00 2013-10-22 00:00:00 2013-10-23 00:00:00 2013-10-24 00:00:00 2013-10-25 00:00:00 2013-10-26 00:00:00 2013-10-27 00:00:00 2013-10-27 23:00:00 2013-10-28 23:00:00 2013-10-29 23:00:00