3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array(1,2,3); foreach (&$a as $b) { if ($b%2) $b++; } var_dump($a);
Output for 5.3.0 - 5.4.29
Parse error: syntax error, unexpected '&' in /in/bkvJp on line 4
Process exited with code 255.