I really don"t know how to generate this MsgId.
I have tried to write the following words incorrectly
public function msgId($spid, $sqid)
{
$timeStr = time();
echo sprintf("%02d%02d%02d%02d%02d%07d%05d", date("m", $timeStr), date("d", $timeStr), date("H", $timeStr), date("i", $timeStr), date("s", $timeStr), $spid, $sqid) , "\n";
return sprintf("%02d%02d%02d%02d%02d%07d%05d", date("m", $timeStr), date("d", $timeStr), date("H", $timeStr), date("i", $timeStr), date("s", $timeStr), $spid, $sqid);
}
pack("N2C", $this->msgId($Msg_src,$header["sequence_number"]), 0)