PHP 中的 quoted_printable_encode() 函数

phpprogrammingserver side programming更新于 2025/8/29 19:52:17

quoted_printable_encode() 函数用于将 8 位字符串转换为可打印的 quoted 字符串。

语法

quoted_printable_encode(str)

参数

  • str − 指定要转换的 8 位字符串。

返回

quoted_printable_encode() 函数返回转换后的字符串。

示例

下面是一个例子 −

<?php
   echo quoted_printable_encode("www.example.com")
?>

输出

以下是输出 −

www.example.com

相关文章