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:ia', $start); } print_r($range);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => 01:00am [1] => 02:00am [2] => 03:00am [3] => 04:00am [4] => 05:00am [5] => 06:00am [6] => 07:00am [7] => 08:00am [8] => 09:00am [9] => 10:00am [10] => 11:00am [11] => 12:00pm [12] => 01:00pm [13] => 02:00pm [14] => 03:00pm [15] => 04:00pm [16] => 05:00pm [17] => 06:00pm [18] => 07:00pm [19] => 08:00pm [20] => 09:00pm [21] => 10:00pm [22] => 11:00pm )

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:
50.83 ms | 402 KiB | 8 Q