(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!