3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = '10-01-2019'; $end = '21-02-2019'; // This is to progress the range through each day. // 24 days, 60 minutes, 60 seconds $step = 24 * 60 * 60; $days = array_map(function ($day) { return date('d-M-Y', $day); }, range(strtotime($end), strtotime($start), -$step)); array_walk($days, function ($day) { echo $day."\n"; });
Output for git.master, git.master_jit, rfc.property-hooks
21-Feb-2019 20-Feb-2019 19-Feb-2019 18-Feb-2019 17-Feb-2019 16-Feb-2019 15-Feb-2019 14-Feb-2019 13-Feb-2019 12-Feb-2019 11-Feb-2019 10-Feb-2019 09-Feb-2019 08-Feb-2019 07-Feb-2019 06-Feb-2019 05-Feb-2019 04-Feb-2019 03-Feb-2019 02-Feb-2019 01-Feb-2019 31-Jan-2019 30-Jan-2019 29-Jan-2019 28-Jan-2019 27-Jan-2019 26-Jan-2019 25-Jan-2019 24-Jan-2019 23-Jan-2019 22-Jan-2019 21-Jan-2019 20-Jan-2019 19-Jan-2019 18-Jan-2019 17-Jan-2019 16-Jan-2019 15-Jan-2019 14-Jan-2019 13-Jan-2019 12-Jan-2019 11-Jan-2019 10-Jan-2019

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:
125.64 ms | 407 KiB | 5 Q