3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = new DateTime('2013-02-01 00:00:00'); $end = new DateTime('2013-02-10 23:59:59'); $interval = new DateInterval('P1D'); $period = new DatePeriod($start, $interval, $end); foreach ($period as $dt) { echo $dt->format("d-m-Y") . PHP_EOL; }
Output for git.master, git.master_jit, rfc.property-hooks
01-02-2013 02-02-2013 03-02-2013 04-02-2013 05-02-2013 06-02-2013 07-02-2013 08-02-2013 09-02-2013 10-02-2013

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
41.03 ms | 401 KiB | 8 Q