fork(1) download
  1. <?php
  2.  
  3. function foo($x) {
  4. $x++;
  5. }
  6.  
  7. $y = 5;
  8. foo($y);
  9. printf("value of y = %d\n", $y);
Success #stdin #stdout 0s 82560KB
stdin
Standard input is empty
stdout
value of y = 5