fork download
  1.  
  2. <?php
  3. $greet = function($name)
  4. {
  5. printf("Hello %s\r\n", $name);
  6. };
  7.  
  8. $greet('World');
  9. $greet('PHP');
  10. ?>
  11.  
Success #stdin #stdout 0.02s 24448KB
stdin
Standard input is empty
stdout
Hello World
Hello PHP