3v4l.org

run code in 300+ PHP versions simultaneously
<?php //list the years you have been alive echo "<br>You know what? Just for fun I am going to list all the years you have been alive. Here you go:<br>"; $year1 = date("Y"); $age = 20; // Sample data for ($y = $age + 1; $y < 100 && $y > 0; $y--) { $yearval = $year1 - $y; echo "$yearval<br>"; }
Output for git.master, git.master_jit, rfc.property-hooks
<br>You know what? Just for fun I am going to list all the years you have been alive. Here you go:<br>2000<br>2001<br>2002<br>2003<br>2004<br>2005<br>2006<br>2007<br>2008<br>2009<br>2010<br>2011<br>2012<br>2013<br>2014<br>2015<br>2016<br>2017<br>2018<br>2019<br>2020<br>

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:
161.46 ms | 406 KiB | 5 Q