fork download
  1. <?php
  2.  
  3. // if olayını yazmaya gerek yok
  4.  
  5. $n = 5;
  6.  
  7. for($k=1;$k<$n;$k++){
  8. for($j=1;$j<$k;$j++){
  9. echo $k*$j ."\n";
  10. }
  11. }
  12.  
  13. echo "done!";
Success #stdin #stdout 0.02s 24448KB
stdin
Standard input is empty
stdout
2
3
6
4
8
12
done!