3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php header('Content-Type: text/html; charset=utf-8'); $str = "颜色代码"; var_dump(strpos($str, "代"));
Output for 4.3.0 - 7.1.0
int(6)