3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start_date = "06/25/2012"; $date = strtotime($start_date); $X=1; while ($X <= 10) { $X++; $date = strtotime("+1 weeks", $date); echo date('m/d/Y', $date)."\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
07/02/2012 07/09/2012 07/16/2012 07/23/2012 07/30/2012 08/06/2012 08/13/2012 08/20/2012 08/27/2012 09/03/2012

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