3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for($x=1;$x<=5;$x++) { for($y=1;$y<=$x;$y++) { echo '*'; if($y>$x) { echo ''; } } echo '\n'; } ?>
based on lt11K
Output for 4.3.0 - 5.6.21, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
*\n**\n***\n****\n*****\n