3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cars=array(array("bmw",20,10),array("benz",30,10),array("gator",20,40),array("ferrari",15,60)); for ($row = 0; $row < 4; $row++) { echo "<p><b>Row number $row</b></p>"; echo "<ul>"; for ($col = 0; $col < 3; $col++) { echo "<li>".$cars[$row][$col]."</li>"; } echo "</ul>"; }
Output for git.master, git.master_jit, rfc.property-hooks
<p><b>Row number 0</b></p><ul><li>bmw</li><li>20</li><li>10</li></ul><p><b>Row number 1</b></p><ul><li>benz</li><li>30</li><li>10</li></ul><p><b>Row number 2</b></p><ul><li>gator</li><li>20</li><li>40</li></ul><p><b>Row number 3</b></p><ul><li>ferrari</li><li>15</li><li>60</li></ul>

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