<?php$greet = function($name){ printf("Hello %s\r\n", $name);}; $greet('World');$greet('PHP');?>
Standard input is empty
Hello World Hello PHP
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!