3v4l.org

run code in 300+ PHP versions simultaneously
<?php $range = range(date("Y") - 20, date("Y")); var_dump(array_combine($range, $range)); var_dump(date("Y"));
Output for git.master, git.master_jit, rfc.property-hooks
array(21) { [1995]=> int(1995) [1996]=> int(1996) [1997]=> int(1997) [1998]=> int(1998) [1999]=> int(1999) [2000]=> int(2000) [2001]=> int(2001) [2002]=> int(2002) [2003]=> int(2003) [2004]=> int(2004) [2005]=> int(2005) [2006]=> int(2006) [2007]=> int(2007) [2008]=> int(2008) [2009]=> int(2009) [2010]=> int(2010) [2011]=> int(2011) [2012]=> int(2012) [2013]=> int(2013) [2014]=> int(2014) [2015]=> int(2015) } string(4) "2015"

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