fork download
  1. <?php
  2. $A = intval(trim(fgets(STDIN)));
  3. $B = intval(trim(fgets(STDIN)));
  4.  
  5. $wynik = $A + $B;
  6.  
  7. echo $wynik . PHP_EOL;
  8. ?>
Success #stdin #stdout 0.02s 25800KB
stdin
3
2
stdout
5