3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(reset(array()))
Output for 7.0.0
Parse error: syntax error, unexpected end of file in /in/q1XQr on line 3
Process exited with code 255.
Output for 5.3.20 - 5.6.16
Fatal error: Only variables can be passed by reference in /in/q1XQr on line 3
Process exited with code 255.