3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $brush_price = 5; echo "<table border=\"1\" align=\"center\">"; echo "<tr><th>Quantity</th>"; echo "<th>Price</th></tr>"; 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 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
<table border="1" align="center"><tr><th>Quantity</th><th>Price</th></tr><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>