3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array(10, 20); foreach($a as &$v) { echo $v; $a[] = 42; var_dump($a); }