3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = 'asdfhg'; foreach((array)$str as $ch) { echo $ch; }
based on P4h9K
Output for 5.6.0 - 7.3.0beta1
asdfhg