3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array('z', 'a'=> 'a', '-1' => '-1' ); foreach($a as $key => $value){ var_dump($key)); }
Output for 5.3.0 - 5.5.6
Parse error: syntax error, unexpected ')' in /in/FTYnD on line 6
Process exited with code 255.