3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php foreach("asdf" as $char) { echo $char; }
Output for 5.6.0 - 7.3.0alpha1
Warning: Invalid argument supplied for foreach() in /in/6fOOu on line 3