fork download
  1. <?php
  2.  
  3.  
  4. $n=3;
  5. $h=9;
  6.  
  7. for($i=0; $i<$n; $i++){
  8. for($j=0; $j<$h-1; $j++){
  9. if($i==0){
  10. echo '*';
  11. }
  12. }
  13. echo "</br>";
  14. }
Success #stdin #stdout 0.03s 25396KB
stdin
Standard input is empty
stdout
********</br></br></br>