if(!preg_match("/^13[0-9]{1}[0-9]{8}$|15[0189]{1}[0-9]{8}$|189[0-9]{8}$/",$phone)){
echo '{"status":"-1","msg":"手机号不正确"}';
exit;
}
关键字词: