3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function ReturnDates($date1, $date2) { $date1 = date_create($date1); $date2 = date_create($date2); while($date1 < $date2) { date_add($date, date_interval_create_from_date_string('1 day')); echo date_format($date, 'Y-m-d'); } } ReturnDates('01-01-2012', '01-10-2012');

Abusive script

This script was stopped while abusing our resources