3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function a($a) { print "a says $a}n"; $b = function($b) { } } a("foo");
Output for 5.3.0 - 5.4.29
Parse error: syntax error, unexpected '}' in /in/ReW0u on line 8
Process exited with code 255.