摘要: $str = '中'; if (preg_match('/^[\x{4e00}-\x{9fa5}]+$/u',$str)){ echo '中文'; } else { echo 'no'; } 阅读全文
posted @ 2019-09-04 11:25 盘思动 阅读(394) 评论(0) 推荐(0) 编辑