function phutil_utf8_is_cjk($string)Arcanist Technical Documentation ()
function phutil_utf8_is_cjk($string)
Arcanist Technical Documentation ()
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:373