3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x = array(2,4,5,6,7); foreach ($x as $foo) var_dump($foo); ?>
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
int(2) int(4) int(5) int(6) int(7)
Output for hhvm-3.10.0

Process exited with code 137.