3v4l.org

run code in 200+ PHP versions simultaneously
<?php var_dump(iconv_substr('',0,10,'utf-8')); var_dump(substr('',0,10)); var_dump(mb_substr('',0,10));
based on S4R1N