3v4l.org

run code in 300+ PHP versions simultaneously
<?php $period = new DatePeriod(new DateTime(), new DateInterval('P1D'), (new DateTime())->modify('+5 days')); foreach ($period as $dt) { echo $dt->format('c') . "\n"; } foreach ($period as $dt) { echo $dt->format('d') . "\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
2014-07-31T19:07:03+02:00 2014-08-01T19:07:03+02:00 2014-08-02T19:07:03+02:00 2014-08-03T19:07:03+02:00 2014-08-04T19:07:03+02:00 31 01 02 03 04

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:
43.97 ms | 401 KiB | 8 Q