convert_uudecode()

convert_uudecode() — Decode a uuencoded string.

Built-in function of PHP 8.5. The manual lists it as available in PHP 5, PHP 7, PHP 8. This page is the reference card: signature, parameters and return value, plus the changelog and the example the manual provides.

What it does

convert_uudecode() decodes a uuencoded string.

Signature

convert_uudecode(string $string): string|false

Parameters

ParameterTypeWhat it takes
$stringstringThe uuencoded data.

Return value

Returns the decoded data as a string or false on failure.

Example

A runnable snippet:

echo convert_uudecode("+22!L;W9E(%!(4\"$`\n`");

Output:

I love PHP!

See also

convert_uuencode()

All PHP 8.5 built-in functions

Reference card built from the PHP manual page convert_uudecode() (PHP documentation, CC BY 3.0). The page is generated from the manual, so the wording of the parameter and return value text follows php.net.