3v4l.org

run code in 300+ PHP versions simultaneously
<?php // 23 FEB 10 am to 24 FEB 12am $begin = new DateTime( '23. feb. 2020 10:00:00' ); $end = new DateTime( '24. Feb. 2020 00:00:00' ); $interval = new DateInterval('PT1H'); $daterange = new DatePeriod($begin, $interval ,$end); foreach($daterange as $date){ echo $date->format("Ymd H:i:s") . "\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
20200223 10:00:00 20200223 11:00:00 20200223 12:00:00 20200223 13:00:00 20200223 14:00:00 20200223 15:00:00 20200223 16:00:00 20200223 17:00:00 20200223 18:00:00 20200223 19:00:00 20200223 20:00:00 20200223 21:00:00 20200223 22:00:00 20200223 23:00: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:
66.52 ms | 402 KiB | 8 Q