3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = strtotime('00:00'); $end = strtotime('23:00'); $range = array(); while ($start !== $end) { $start = strtotime('+1 hour',$start); $range[] = date('H:i', $start); } print_r($range);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => 01:00 [1] => 02:00 [2] => 03:00 [3] => 04:00 [4] => 05:00 [5] => 06:00 [6] => 07:00 [7] => 08:00 [8] => 09:00 [9] => 10:00 [10] => 11:00 [11] => 12:00 [12] => 13:00 [13] => 14:00 [14] => 15:00 [15] => 16:00 [16] => 17:00 [17] => 18:00 [18] => 19:00 [19] => 20:00 [20] => 21:00 [21] => 22:00 [22] => 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:
37.86 ms | 402 KiB | 8 Q