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('Y-m-d') . "\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
2000-07-02 2001-07-01 2002-06-30 2003-06-29 2004-06-27 2005-07-03 2006-07-02 2007-07-01 2008-06-29 2009-06-28 2010-07-04 2011-07-03 2012-07-01 2013-06-30 2014-06-29 2015-06-28 2016-07-03 2017-07-02 2018-07-01 2019-06-30

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