function phutil_utf8_is_cjk($string)libphutil Technical Documentation (Core Utilities)
function phutil_utf8_is_cjk($string)
libphutil Technical Documentation (Core Utilities)
Test if a string contains Chinese, Japanese, or Korean characters.
Most languages use spaces to separate words, but these languages do not.
Parameters
string | $string | String to examine, in UTF8. |
Return
bool | True if the string contains Chinese, Japanese, or Korean characters. |
- Defined
- src/utils/utf8.php:371