fork download
  1. <?php
  2. function f($s, $a, $b) {
  3.  
  4. $s = $s*2;
  5. if($a || $b) {
  6. $c = 1;
  7. if($a) {
  8. $s = $c + $a;
  9. }
  10. if($b) {
  11. $s = $c + $b;
  12. }
  13. }
  14. return $s;
  15. }
  16.  
Success #stdin #stdout 0.03s 52432KB
stdin
Standard input is empty
stdout
Standard output is empty