3v4l.org

run code in 300+ PHP versions simultaneously
<?php for( $y = 2000; $y < 2020; $y++) { echo (new \DateTime('now'))->setIsoDate($y . '','26')->modify('next sunday')->format('c') . "\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
2000-07-02T00:00:00+02:00 2001-07-01T00:00:00+02:00 2002-06-30T00:00:00+02:00 2003-06-29T00:00:00+02:00 2004-06-27T00:00:00+02:00 2005-07-03T00:00:00+02:00 2006-07-02T00:00:00+02:00 2007-07-01T00:00:00+02:00 2008-06-29T00:00:00+02:00 2009-06-28T00:00:00+02:00 2010-07-04T00:00:00+02:00 2011-07-03T00:00:00+02:00 2012-07-01T00:00:00+02:00 2013-06-30T00:00:00+02:00 2014-06-29T00:00:00+02:00 2015-06-28T00:00:00+02:00 2016-07-03T00:00:00+02:00 2017-07-02T00:00:00+02:00 2018-07-01T00:00:00+02:00 2019-06-30T00:00:00+02:00

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:
72.42 ms | 402 KiB | 8 Q