3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 'a'; foreach ($a as $b) { echo 'a'; }
Output for 7.1.7
Warning: Invalid argument supplied for foreach() in /in/BHMce on line 5