3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = array('pauper', 'hond', 'test'); foreach($array as $key => $value) { print_r($key.' -> '.$value); }
based on jEvmp
Output for 4.3.0 - 7.1.0
0 -> pauper1 -> hond2 -> test