3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = new DateTime('first day of this month'); $end = new DateTime('first day of next month'); $interval = DateInterval::createFromDateString('1 day'); $period = new DatePeriod($start, $interval, $end); foreach ($period as $dt) { echo $dt->format("Y-m-d") . PHP_EOL; }
Output for git.master, git.master_jit, rfc.property-hooks
2013-05-01 2013-05-02 2013-05-03 2013-05-04 2013-05-05 2013-05-06 2013-05-07 2013-05-08 2013-05-09 2013-05-10 2013-05-11 2013-05-12 2013-05-13 2013-05-14 2013-05-15 2013-05-16 2013-05-17 2013-05-18 2013-05-19 2013-05-20 2013-05-21 2013-05-22 2013-05-23 2013-05-24 2013-05-25 2013-05-26 2013-05-27 2013-05-28 2013-05-29 2013-05-30 2013-05-31

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.3 ms | 402 KiB | 8 Q