3v4l.org

run code in 300+ PHP versions simultaneously
<?php $week_number = 18; $year = 2018; if($week_number < 10){ $week_number = "0".$week_number; } for($day=1; $day<=7; $day++) { $days[$day] = date('d', strtotime($year."W".$week_number.$day))."\n"; } $start = array_keys($days, min($days))[0]; for($day=1; $day<=7; $day++) { If($day<$start){ Echo "\n"; }Else{ Echo $days[$day]; } }
Output for git.master, git.master_jit, rfc.property-hooks
01 02 03 04 05 06

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:
168.15 ms | 405 KiB | 5 Q