HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
PHP String Reference : Decode a uuencoded string: "
The convert_uudecode() function decodes a uuencoded string.
This function is often used together with the convert_uuencode() function.
Parameter | Description |
---|---|
string | Required. The uuencoded string to decode |
Return Value: | Returns the decoded data as a string |
---|---|
PHP Version: | 5+ |
Encode a string and then decode it:
<?php
$str = "Hello world!";
// Encode the string
$encodeString = convert_uuencode($str);
echo $encodeString . "<br>";
// Decode the string
$decodeString = convert_uudecode($encodeString);
echo $decodeString;
?>
❮ PHP String Reference