Page MenuHomePhabricator
Diviner Arcanist Tech Docs phutil_utf8v_codepoints

function phutil_utf8v_codepoints($string)
Arcanist Technical Documentation ()

Split a UTF-8 string into an array of codepoints (as integers).

Parameters
string$stringA valid UTF-8 string.
Return
listA list of codepoints, as integers.