时间:2021-07-01 10:21:17 帮助过:4人阅读
http://www.bkjia.com/PHPjc/486215.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/486215.htmlTechArticle手机号码验证判断php函数 ?php function checkMobile($str) { $pattern = "/^(13|15)d{9}$/"; if (preg_match($pattern,$str)) { Return true; } else { Return false; } } //调用函数...