3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a[0][0] = "a"; $a[0][1] = "b"; $a[1][0] = "y"; $a[1][1] = "z"; foreach ($a as $v1) { foreach ($v1 as $v2) { echo "$v2\n"; } } ?>
Output for 4.3.0 - 7.1.0
a b y z