PHP用正则表达式判断是否为中文,一般的判断中文在php不适用

/^[\x{4e00}-\x{9fa5}]+$/u

作者很强!!!

http://www.thinkphp.cn/code/642.html