3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array(0=>'a',1=>'b',2=>'c',3=>'d'); foreach(list($k, $v) = each($a)): echo $k.'<br/>'; echo $v.'<br/>'; endforeach; ?>
Output for 5.3.0 - 5.4.27
Parse error: syntax error, unexpected ')' in /in/3aGdV on line 4
Process exited with code 255.