3v4l.org

run code in 300+ PHP versions simultaneously
<?php $Mdcnt = array("0","31","28","31","30","31","30","31","31","30","31","30","31"); for($i=20140329 ; $i<=20140402;$i++){ $year = substr($i,0,4); $mon = intval(substr($i,4,2)); $day = intval(substr($i,6,2)); print $mon . " - " .$day."\n"; if($mon >13 or $mon < 1) break; if($day > $Mdcnt[$mon] or $day < 1) break; $days = sprintf("%04d%02d%02d",$year,$mon,$day); print $days."\n"; } ?>
Output for git.master, git.master_jit, rfc.property-hooks
3 - 29 20140329 3 - 30 20140330 3 - 31 20140331 3 - 32

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