3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array(1,2,3,4); function boom($a) { return $a+1; } array_walk('boom', ($new = $a)); var_dump($new);
Output for 5.3.0 - 5.4.20
Fatal error: Only variables can be passed by reference in /in/H7AjV on line 6
Process exited with code 255.