I have the string $str and I want to check if it`s content has Chinese chars or not (true/false)
$str
$str = \"赕就可消垻,只有当所有方块都被消垻时才可以过关\";
@mario answer is right!
@mario
For Chinese chars use this regex: /[\x{4e00}-\x{9fa5}]+/u
/[\x{4e00}-\x{9fa5}]+/u
And Don't forget the u modifier!!!
u
About u modifier reference
TKS to mario