3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $ary = array(5, 6, 2, 3, 1); foreach($ary as &$a) { echo $a; } // no reset after the first foreach on the a &$a = 0; foreach($ary as $a) { echo $a; }
Output for 5.3.0 - 5.4.22
Parse error: syntax error, unexpected '&' in /in/fqtum on line 8
Process exited with code 255.