fork(1) download
  1. <?php
  2.  
  3. function test(&$var = "test") {
  4. echo $var;
  5. }
  6.  
  7. $string = "Second";
  8.  
  9. test();
  10. test($string);
  11. //test("Third"); //Error
Success #stdin #stdout 0.01s 20520KB
stdin
Standard input is empty
stdout
testSecond