3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = array("Een","Twee","Drie","Vier"); foreach($array as $key => $value): print_r($key); print_r("-"); print_r($value); endforeach; ?>
Output for 4.3.0 - 7.1.0
0-Een1-Twee2-Drie3-Vier