3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php mb_internal_encoding('UTF-8'); $wo = '我编织我的衣服'; echo mb_substr($wo,0,2,'UTF-8');
based on AiUuA
Output for 4.3.0 - 7.2.0
我编