3v4l.org

run code in 300+ PHP versions simultaneously
<?php $startUnixTime = strtotime("2013-03-29"); $endUnixTime = strtotime("2013-04-05"); for($unixTime = $startUnixTime; $unixTime <= $endUnixTime; $unixTime += 60 * 60 * 24){ $year = (int) date("Y", $unixTime); $month = (int) date("m", $unixTime); $day = (int) date("d", $unixTime); $item['days'][$year][$month][$day] = true;//$unixTime >= $resDateFilterFromUnix && $unixTime <= $resDateFilterToUnix; } var_dump($item);
Output for git.master, git.master_jit, rfc.property-hooks
array(1) { ["days"]=> array(1) { [2013]=> array(2) { [3]=> array(3) { [29]=> bool(true) [30]=> bool(true) [31]=> bool(true) } [4]=> array(4) { [1]=> bool(true) [2]=> bool(true) [3]=> bool(true) [4]=> bool(true) } } } }

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