unicode_codepoints_from_string()
返回输入字符串的 Unicode 码位的动态数组。 此函数是 unicode_codepoints_to_string()
函数的反运算。
弃用的别名:to_utf8()
语法
unicode_codepoints_from_string(
value)
详细了解语法约定。
参数
客户 | 类型 | 必需 | Description |
---|---|---|---|
value | string |
✔ | 要转换的源字符串。 |
返回
返回由字符的 Unicode 码位组成的动态数组,这些字符组成提供给此函数的字符串。
请参阅 unicode_codepoints_to_string()
。