3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = new \DateTime('2014-08-15'); $end = new \DateTime('2014-08-09'); $diff = $end->diff($start); $interval = \DateInterval::createFromDateString('-1 day'); $period = new \DatePeriod($start, $interval, $diff->days); foreach ($period as $date) { echo $date->format('Y-m-d') . PHP_EOL; }
Output for git.master, git.master_jit, rfc.property-hooks
2014-08-15 2014-08-14 2014-08-13 2014-08-12 2014-08-11 2014-08-10 2014-08-09

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:
75.16 ms | 405 KiB | 5 Q