超簡陋的 ``` 'pwd', 'chat_id' => $ChatID, 'reply_to_message_id' => $MsgID, 'text' => "You Unique Strong Password is: *{$pw}*", 'parse_mode' => 'Markdown', )); } function genPW () { $length = 16; $set = ''; $set .= 'abcdefghjkmnpqrstuvwxyz'; $set .= 'ABCDEFGHJKMNPQRSTUVWXYZ'; $set .= '23456789'; $set .= '!@#$%&?'; $set = str_split($set); $password = ''; for ($i = 0; $i < $length; $i++) { $password .= $set[array_rand($set)]; } return $password; } echo genPW(); ```