3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $modules = array('t_Module1', 'A_module2'); $mod = array_flip($modules); foreach($mod as $key => $val) { if (!isset($mod['t_Module1'])) { echo 'continue'; continue; } echo 'doing'; unset($mod[$key]); } var_dump($mod);
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
doingcontinuearray(1) { ["A_module2"]=> int(1) }
Output for hhvm-3.10.0

Process exited with code 153.