3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $false = json_encode(false); var_dump($false); foreach($false as $key => $val) { var_dump($key); var_dump($val); var_dump('***'); }
based on m9J0N
Output for 5.6.38 - 7.3.0rc3
string(5) "false" Warning: Invalid argument supplied for foreach() in /in/26tWl on line 6