3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = new DateTime('2013-10-01'); $end = new DateTime('today'); $interval = DateInterval::createFromDateString('1 month'); $period = new DatePeriod($start, $interval, $end); foreach ($period as $dt){ echo $dt->format("Y-m-d") . "\n"; echo $dt->format("Y-m-t") . "\n"; echo "======================\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
2013-10-01 2013-10-31 ====================== 2013-11-01 2013-11-30 ====================== 2013-12-01 2013-12-31 ====================== 2014-01-01 2014-01-31 ====================== 2014-02-01 2014-02-28 ====================== 2014-03-01 2014-03-31 ====================== 2014-04-01 2014-04-30 ====================== 2014-05-01 2014-05-31 ====================== 2014-06-01 2014-06-30 ====================== 2014-07-01 2014-07-31 ====================== 2014-08-01 2014-08-31 ====================== 2014-09-01 2014-09-30 ======================

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:
40.95 ms | 402 KiB | 8 Q