3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php //$start_date =strtotime('2013-02-13 12:02:00'); //$end_date =strtotime('2013-02-20 12:02:00'); //$total = ($end_date- $start_date); //echo date("Y-m-d H:i:s",$total); $n = 5; for($i=$n;$i>0;$i--) { for($j=1;$j<=$i;$j++) { echo "*"; } echo"<br>"; }
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
*****<br>****<br>***<br>**<br>*<br>