3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php error_reporting(E_ALL & E_STRICT); $arr = array(); foreach($arr as $foo){ echo '-'; }
Output for 5.2.14 - 7.2.0