array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'function.convert-uudecode.php', 1 => 'convert_uudecode', ), 'up' => array ( 0 => 'ref.strings.php', 1 => 'String Functions', ), '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' => 'en', '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 — Decode a uuencoded string
convert_uudecode() decodes a uuencoded string.
Note: convert_uudecode() neither accepts the
begin
nor theend
line, which are part of uuencoded files.
string
The uuencoded data.
Returns the decoded data as a string or false
on failure.
Example #1 convert_uudecode() example
<?php
echo convert_uudecode("+22!L;W9E(%!(4\"$`\n`");
?>
The above example will output:
I love PHP!