3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $j=1; for($i=5;$i>=1;$i--) { echo str_repeat(" ",$i-1); echo str_repeat('*',$j++); echo "<br />"; }
based on fJR6D
Output for 4.3.0 - 7.2.0
    *<br />   **<br />  ***<br /> ****<br />*****<br />