php8.5
Home/ Manual/ strings / functions/ convert_uudecode

convert_uudecode

PHP function Edit on GitHub ✎

(PHP 5, PHP 7, PHP 8)

Decode a uuencoded string

Description

convert_uudecode(string $string): string|false

convert_uudecode() decodes a uuencoded string.

Note

convert_uudecode() neither accepts the begin nor the end line, which are part of uuencoded files.

Parameters

string

The uuencoded data.

Return Values

Returns the decoded data as a string Falseforfailure.

Examples

convert_uudecode() example

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

The above example will output:

output
I love PHP!

See Also

Source: reference/strings/functions/convert-uudecode.xml · from the official PHP manual (php/doc-en)