3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php (function () { echo 'hello world'; })()
Output for 7.0.0 - 7.0.5
Parse error: syntax error, unexpected end of file in /in/ne6kn on line 5
Process exited with code 255.
Output for 5.5.0 - 5.6.20
Parse error: syntax error, unexpected '(' in /in/ne6kn on line 5
Process exited with code 255.