3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo array_pop(['text']);
Output for 5.4.0 - 5.4.31
Fatal error: Only variables can be passed by reference in /in/ccsAe on line 3
Process exited with code 255.
Output for 5.3.7 - 5.3.28
Parse error: syntax error, unexpected '[', expecting ')' in /in/ccsAe on line 3
Process exited with code 255.