3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for($i=1;$i<=9;$i+=1) { for($j=1;$j<=$i;$j+=1) { echo '*'; if($i<>$j) { echo " "; } else { echo "<br>"; } } }
Output for 4.3.0 - 7.1.0
*<br>* *<br>* * *<br>* * * *<br>* * * * *<br>* * * * * *<br>* * * * * * *<br>* * * * * * * *<br>* * * * * * * * *<br>