function phutil_utf8v($string, $byte_limit)libphutil Technical Documentation (Core Utilities)
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 | $string | A valid utf-8 string. |
int|null | $byte_limit | Stop processing after examining this many bytes. |
Return
list | A list of characters in the string. |
- Defined
- src/utils/utf8.php:430