fork download
  1. <?php
  2.  
  3.  
  4.  
  5. for ($bank=10000, $year = 0; $bank<=1000000; $bank= $c + $bank, $year++) {
  6. $c= $bank * 0.1;
  7.  
  8. }
  9. echo "$year\n";
Success #stdin #stdout 0.02s 52432KB
stdin
Standard input is empty
stdout
49