3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $brush_price = 5; ?> <table border="1" align="center"> <tr><th>Quantity</th> <th>Price</th></tr> <?php for ( $counter = 10; $counter <= 100; $counter += 10) { echo '<pre>'; echo $counter; echo $brush_price * $counter; } ?> </table>
Output for 4.3.0 - 7.1.0
<table border="1" align="center"> <tr><th>Quantity</th> <th>Price</th></tr> <pre>1050<pre>20100<pre>30150<pre>40200<pre>50250<pre>60300<pre>70350<pre>80400<pre>90450<pre>100500</table>