Thursday, October 9, 2025
HomeLanguagesPHP convert_uudecode() Function

PHP convert_uudecode() Function

The convert_uudecode() is a built in function in PHP. This function decode a uuencoded string encoded using convert_uuencode() function. The uudecode() functions makes string into printable form.
Syntax:

 string convert_uudecode(string)

Parameters: The uuencoded string which will be decoded.
Return Type: It returns a decoded string.

Example:

 Input : /22!L;W9E(&UY(&EN9&EA`
 Output : I love my india  

Below program shows the working of convert_uudecode() function:
Example




<?php 
  
// PHP program illustrate the 
// convert_uudecode() function 
  
// Input String 
$str = "neveropen for neveropen!"; 
  
// Encoding the string 
$encodeString = convert_uuencode($str); 
  
// printing encoded string 
echo $encodeString . "\n"; 
  
// Decode the string 
$decodeString = convert_uudecode($encodeString); 
  
// Printing string in decoded format
echo $decodeString; 
  
?> 


Output:

09V5E:W,@9F]R(&=E96MS(0``
`

neveropen for neveropen!
RELATED ARTICLES

Most Popular

Dominic
32342 POSTS0 COMMENTS
Milvus
87 POSTS0 COMMENTS
Nango Kala
6712 POSTS0 COMMENTS
Nicole Veronica
11876 POSTS0 COMMENTS
Nokonwaba Nkukhwana
11937 POSTS0 COMMENTS
Shaida Kate Naidoo
6833 POSTS0 COMMENTS
Ted Musemwa
7092 POSTS0 COMMENTS
Thapelo Manthata
6786 POSTS0 COMMENTS
Umr Jansen
6789 POSTS0 COMMENTS