$pregstr = "/[\x{4e00}-\x{9fa5}]+/u";
if(preg_match($pregstr,$title,$matchArray)){
  if (strlen($title)<2){
    showmsg("标题长度必须大于2");
  }
}
都可删掉!