3v4l.org

run code in 300+ PHP versions simultaneously
<?php $greet = function($name) use (&$greet) { printf("Hello %s\r\n", $name); if($name != 'PHP') { $greet('PHP'); } }; $greet('World');

preferences:
62.89 ms | 404 KiB | 5 Q