3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php reset( array( 1, 2, 3 ) );
Output for 5.3.0 - 5.4.17
Fatal error: Only variables can be passed by reference in /in/IEB7i on line 3
Process exited with code 255.