3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $l = array(0,2,4,6); foreach($l as $i=>$v) { echo $i.$v.'\n'; }
based on rZ2md
Output for 4.3.0 - 7.2.0
00\n12\n24\n36\n