array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'function.convert-uudecode.php', 1 => 'convert_uudecode', ), 'up' => array ( 0 => 'ref.strings.php', 1 => '字符串 函数', ), 'prev' => array ( 0 => 'function.convert-cyr-string.php', 1 => 'convert_cyr_string', ), 'next' => array ( 0 => 'function.convert-uuencode.php', 1 => 'convert_uuencode', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'zh', 'path' => 'reference/strings/functions/convert-uudecode.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5, PHP 7, PHP 8)
convert_uudecode — 解码一个 uuencode 编码的字符串
convert_uudecode() 解码一个 uuencode 编码的字符串。
注意: convert_uudecode() 既不接受
begin
行也不接受end
,它们是 uuencoded files 的一部分。
string
uuencode 编码后的数据。
返回解码后的字符串数据, 或者在失败时返回 false
.。
示例 #1 convert_uudecode() 例子
<?php
echo convert_uudecode("+22!L;W9E(%!(4\"$`\n`");
?>
以上示例会输出:
I love PHP!