quoted_printable_decode()

解码 quoted-printable 编码的字符串

首字母:Q

函数名称:quoted_printable_decode() 函数

适用版本:PHP 4, PHP 5, PHP 7

函数描述:该函数用于解码 quoted-printable 编码的字符串。

用法: quoted_printable_decode(string $str): string

参数:

  • $str:要解码的 quoted-printable 编码字符串。

返回值: 解码后的字符串。

示例:


输出结果:

我是一个测试的 quoted_printable_decode() 函数。

解释: 在示例中,我们有一个 quoted-printable 编码的字符串,通过调用 quoted_printable_decode() 函数对其进行解码。解码后的结果是原始字符串 "我是一个测试的 quoted_printable_decode() 函数。"。

同首字母函数