开发中在使用preg_match()验证中文正则报错
解决方法:
/^[x80-xff]{6,30}$/
代替
/^[u4e00-u9fa5]{2,32}$/
具体原理,参考:https://blog.csdn.net/u013101178/article/details/82756550