Loader

convert_uudecode

convert_uudecode() decodes a uuencoded string. Text convert_uudecode online.

string convert_uudecode ( string $data )

PHP Documentation by the PHP Documentation Group

convert_uudecode

(PHP 5, PHP 7)

convert_uudecodeDecode a uuencoded string

Description

convert_uudecode ( string $data ) : string

convert_uudecode() decodes a uuencoded string.

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

Parameters

data

The uuencoded data.

Return Values

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

Examples

Example #1 convert_uudecode() example

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

The above example will output:

I love PHP!

See Also

PHP Documentation

Copyright © 1997 - 2016 by the PHP Documentation Group. This material may be distributed only subject to the terms and conditions set forth in the Creative Commons Attribution 3.0 License or later. A copy of the Creative Commons Attribution 3.0 license is distributed with this manual. The latest version is presently available at » http://creativecommons.org/licenses/by/3.0/.