fork download
  1. <?php
  2.  
  3. $a=10;
  4. $b=5;
  5. for ($i=1; $i>=1000; $i++){
  6.  
  7. if ($a <$b){
  8. echo "$a $b";
  9.  
  10. }elseif($a>20){
  11. $a=$a+1;
  12. $b=$b+2;
  13. echo "$a $b";
  14. }else{
  15. $a=$a+5;
  16. $b=$b-1;
  17. echo "$a $b";
  18. }
  19. }
  20.  
Success #stdin #stdout 0.02s 52432KB
stdin
Standard input is empty
stdout
Standard output is empty