3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = new DateTime('2013-02-01 00:00:00'); $end = new DateTime('2013-02-01 23:59:59'); $interval = new DateInterval('PT1H'); $period = new DatePeriod($start, $interval, $end); foreach ($period as $dt) { echo $dt->format("H:00") . PHP_EOL; }
Output for git.master, git.master_jit, rfc.property-hooks
00:00 01:00 02:00 03:00 04:00 05:00 06:00 07:00 08:00 09:00 10:00 11:00 12:00 13:00 14:00 15:00 16:00 17:00 18:00 19:00 20:00 21:00 22:00 23:00

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.9 ms | 401 KiB | 8 Q