3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php (function($param1){ return function($param2) use ($param1){ echo "$param1 $param2"; }; })("hello")("world");
based on A1UMu
Output for 7.0.0 - 7.2.0
hello world
Output for 5.5.0 - 5.6.28
Parse error: syntax error, unexpected '(' in /in/TmWAA on line 7
Process exited with code 255.