3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php foreach(array_keys(array("1"=>0,"2"=>1)) as $key) { echo "$key\n"; }
Output for 4.3.0 - 7.1.10
1 2