3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for($n=1;$n<=5;$n++) { for($m=1;$m<=$n;$m++) { echo '*'; if($n>$m) echo ' '; } } ?>
based on j4bXU
Output for 4.3.0 - 7.1.0
** ** * ** * * ** * * * *