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); echo "<br>"; print_r($value); endforeach; ?>
Output for 4.3.0 - 7.1.0
0<br>Een1<br>Twee2<br>Drie3<br>Vier