3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $events = array("first", "last"); print end(count($events) - 1);
Output for 5.3.0 - 5.4.26
Fatal error: Only variables can be passed by reference in /in/2VL96 on line 5
Process exited with code 255.