3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php foreach (range(1, 6) as $i) { foreach (range(1, 6) as $j) { echo $i * $j, "\n"; } }
Output for 4.3.0 - 7.1.0
1 2 3 4 5 6 2 4 6 8 10 12 3 6 9 12 15 18 4 8 12 16 20 24 5 10 15 20 25 30 6 12 18 24 30 36