3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function arr() { return array(1, 2, 3, 4); } echo {arr()}[0];
Output for 5.3.0 - 5.4.27
Parse error: syntax error, unexpected '{' in /in/hfNG3 on line 8
Process exited with code 255.