fork download
  1. <?php
  2.  
  3. $num1 = 5;
  4. $num2 = 4;
  5.  
  6. for($num2; $num2 > 0; $num2--){
  7. echo $num1;
  8. if($num2 != 1) echo " + ";
  9. }
Success #stdin #stdout 0s 82880KB
stdin
Standard input is empty
stdout
5 + 5 + 5 + 5