3v4l.org

run code in 300+ PHP versions simultaneously
<?php $brush_price = 5; echo "<table border=\"1\" align=\"center\"> <br />"; echo "<tr><th>Quantity</th> <br />"; echo "<th>Price</th></tr> <br />"; for ( $counter = 10; $counter <= 100; $counter += 10) { echo "<tr><td>"; echo $counter; echo "</td><td>"; echo $brush_price * $counter; echo "</td></tr>"; } echo "</table>";
Output for git.master, git.master_jit, rfc.property-hooks
<table border="1" align="center"> <br /><tr><th>Quantity</th> <br /><th>Price</th></tr> <br /><tr><td>10</td><td>50</td></tr><tr><td>20</td><td>100</td></tr><tr><td>30</td><td>150</td></tr><tr><td>40</td><td>200</td></tr><tr><td>50</td><td>250</td></tr><tr><td>60</td><td>300</td></tr><tr><td>70</td><td>350</td></tr><tr><td>80</td><td>400</td></tr><tr><td>90</td><td>450</td></tr><tr><td>100</td><td>500</td></tr></table>

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