3v4l.org

run code in 200+ PHP versions simultaneously
<?php $start = new DateTime('2013-02-01'); $end = new DateTime('2013-02-17'); $interval = new DateInterval('P1D'); $period = new DatePeriod($start, $interval, $end); foreach ($period as $dt) { echo $dt->format("l Y-m-d") . PHP_EOL; }

Shows result from various feature-branches currently under review from the php developers. Contact me to have additional branches featured.

Output for branch php-master
Friday 2013-02-01 Saturday 2013-02-02 Sunday 2013-02-03 Monday 2013-02-04 Tuesday 2013-02-05 Wednesday 2013-02-06 Thursday 2013-02-07 Friday 2013-02-08 Saturday 2013-02-09 Sunday 2013-02-10 Monday 2013-02-11 Tuesday 2013-02-12 Wednesday 2013-02-13 Thursday 2013-02-14 Friday 2013-02-15 Saturday 2013-02-16
Output for branch php-master+opcache
Friday 2013-02-01 Saturday 2013-02-02 Sunday 2013-02-03 Monday 2013-02-04 Tuesday 2013-02-05 Wednesday 2013-02-06 Thursday 2013-02-07 Friday 2013-02-08 Saturday 2013-02-09 Sunday 2013-02-10 Monday 2013-02-11 Tuesday 2013-02-12 Wednesday 2013-02-13 Thursday 2013-02-14 Friday 2013-02-15 Saturday 2013-02-16

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