3v4l.org

run code in 300+ PHP versions simultaneously
<!DOCTYPE html> <html> <head> <title>Ensimmäinen PHP-sivu</title> </head> <body> <p>Vuorokaudessa on <?php echo 24 * 60 * 60; ?> sekuntia.</p> <p>Tänään on <?php echo date("j.n.Y"); ?>.</p> <p>Palvelimella on PHP:n versio <?php echo PHP_VERSION; ?>.</p> <?php echo "<ul>"; for ($i = 1; $i <= 10; $i++) { echo "<li>" . $i; } echo "</ul>"; ?> </body> </html>
Output for git.master, git.master_jit, rfc.property-hooks
<!DOCTYPE html> <html> <head> <title>Ensimmäinen PHP-sivu</title> </head> <body> <p>Vuorokaudessa on 86400 sekuntia.</p> <p>Tänään on 14.11.2014.</p> <p>Palvelimella on PHP:n versio 8.3.0-dev.</p> <ul><li>1<li>2<li>3<li>4<li>5<li>6<li>7<li>8<li>9<li>10</ul> </body> </html>

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:
49.19 ms | 405 KiB | 9 Q