quoted_printable_decode

(PHP 4, PHP 5, PHP 7, PHP 8)

quoted_printable_decode將 quoted-printable 字符串轉(zhuǎn)換為 8-bit 字符串

說明

quoted_printable_decode(string $str): string

該函數(shù)返回 quoted-printable 解碼之后的 8-bit 字符串 (參考 ? RFC2045 的6.7章節(jié),而不是 ? RFC2821 的4.5.2章節(jié),so additional periods are not stripped from the beginning of line)

該函數(shù)與 imap_qprint() 函數(shù)十分相似,但是該函數(shù)不需要依賴 IMAP 模塊。

參數(shù)

str

輸入的字符串。

返回值

返回的 8-bit 二進(jìn)制字符串。

參見