用于统一编号 function strid($id){ $str = "xa08"; $str .= str_repeat('0', (5-strlen($id))).$id; return $str; }