3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = range(1,10); foreach($a as $key = $value) { echo $key."\n"; echo $value."\n\n"; }
Output for 5.3.0 - 5.4.21
Parse error: syntax error, unexpected '=', expecting ')' in /in/mJ322 on line 5
Process exited with code 255.