3v4l.org

run code in 300+ PHP versions simultaneously
<?php $books["978-0743261690"] = "Gilgamesh"; $books["978-0060931957"] = "The Odyssey"; $books["978-0192840509"] = "Aesop's Fables"; $books["978-0520227040"] = "Mahabharta"; $books["978-0393320978"] = "Beowulf"; ?><html> <head> <title>Five Great Books</title> </head> <body> <h1>Five Great Books</h1> <ul> <?php foreach($books as $b => $aa) { ?> <li><?php echo $b; ?></li> <?php } ?> </ul> </body> </html>
Output for git.master, git.master_jit, rfc.property-hooks
<html> <head> <title>Five Great Books</title> </head> <body> <h1>Five Great Books</h1> <ul> <li>978-0743261690</li> <li>978-0060931957</li> <li>978-0192840509</li> <li>978-0520227040</li> <li>978-0393320978</li> </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:
38.38 ms | 401 KiB | 8 Q