3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str="Şef"; $str=utf8_encode($str); for($i = 0; $i < strlen($str); $i++) echo $str[$i] . "\n";
Output for 5.2.15 - 7.1.0
� � � � e f