3v4l.org

run code in 300+ PHP versions simultaneously
<?php $year = "2017"; $month = "10"; $day = "01"; $first_date = $year."-".$month."-".$day; $last_date = date("Y-m-t",strtotime($first_date)); $first_week = date("W",strtotime($first_date)); $last_week = date("W",strtotime($last_date)); for($i=$first_week;$i<=$last_week;$i++) { echo "Week #".$i.", "; }
Output for git.master, git.master_jit, rfc.property-hooks
Week #39, Week #40, Week #41, Week #42, Week #43, Week #44,

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