3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = array(2, 4, 8); doFoo($arr); print_r($arr); function doFoo($array) { foreach ($array as &$foo) { &$foo += 1; } }
Output for 5.3.0 - 5.4.23
Parse error: syntax error, unexpected '&' in /in/v6S2Q on line 9
Process exited with code 255.