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