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 $counter; echo $brush_price * $counter; } ?> </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> 10502010030150402005025060300703508040090450100500</table>