摘要: /** 已测试,百度很多写法不行的 * 1就是男性 2就是女性* 通过身份证获取性别类型* @param type $card* @return int*/function getCardSex($idcard) { if(empty($idcard)) return null; $sexint = 阅读全文