3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $var = array('josisas', 'duarte'); $var = false; foreach ($var as $v) echo $v;
Output for 5.2.14 - 7.2.0
Warning: Invalid argument supplied for foreach() in /in/Gn6Jl on line 6