function hanzi($str){ if (preg_match("/^[\x{4e00}-\x{9fa5}]+$/u",$str)) { return true; } return false;}function shouji($str){ if (preg_match("/^1[3,5,8]{1}[0-9]{9}$/", $str)) { return true; } return false;}function hanzizimu($str){ if (preg_match("/^[\x{4e00}-\x{9fa5}A-Za-z0-9_]+$/u", $str)) { return true; } return false;}