3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $var = array_push('foo', 'bar'); var_dump($var);
Output for 5.3.0 - 5.4.23
Fatal error: Only variables can be passed by reference in /in/5Ha2c on line 3
Process exited with code 255.