3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = "2015-09-01"; $end = date('Y-m-d', strtotime("$start +1 months")); $period = floor((strtotime($end) - strtotime($start))/(24*60*60)); for($i = 0; $i < $period; $i++){ if(in_array(date('l',strtotime("$start +$i day")),["Monday","Friday"])) echo date('l d M, Y',strtotime("$start +$i day"))."\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
Friday 04 Sep, 2015 Monday 07 Sep, 2015 Friday 11 Sep, 2015 Monday 14 Sep, 2015 Friday 18 Sep, 2015 Monday 21 Sep, 2015 Friday 25 Sep, 2015 Monday 28 Sep, 2015

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:
38.78 ms | 401 KiB | 8 Q