Page MenuHomePhorge

function phutil_utf8v($string, $byte_limit)
libphutil Technical Documentation (Core Utilities)

Split a UTF-8 string into an array of characters. Combining characters are also split.

Parameters
string$stringA valid utf-8 string.
int|null$byte_limitStop processing after examining this many bytes.
Return
listA list of characters in the string.