3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $it = strtotime('2013-10-15 12:00:00'); for($i=0; $i<=15; $i++) { echo date("Y-m-d h:i:s", $it + $i * 24 * 3600) . "\n"; }
Output for 4.3.0 - 7.1.0
2013-10-15 12:00:00 2013-10-16 12:00:00 2013-10-17 12:00:00 2013-10-18 12:00:00 2013-10-19 12:00:00 2013-10-20 12:00:00 2013-10-21 12:00:00 2013-10-22 12:00:00 2013-10-23 12:00:00 2013-10-24 12:00:00 2013-10-25 12:00:00 2013-10-26 12:00:00 2013-10-27 11:00:00 2013-10-28 11:00:00 2013-10-29 11:00:00 2013-10-30 11:00:00