3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = array(); foreach ($arr as $val) var_dump("hello"); var_dump("world");
Output for 4.3.0 - 7.1.0
string(5) "world"