function phutil_utf8v_codepoints($string)libphutil Technical Documentation (Core Utilities)
function phutil_utf8v_codepoints($string)
libphutil Technical Documentation (Core Utilities)
Split a UTF-8 string into an array of codepoints (as integers).
Parameters
string | $string | A valid UTF-8 string. |
Return
list | A list of codepoints, as integers. |
- Defined
- src/utils/utf8.php:494