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

filter_none

edit
close

play_arrow

link
brightness_4
code

<?php 
  
// PHP program illustrate the 
// convert_uudecode() function 
  
// Input String 
$str = "geeks for geeks!"
  
// 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
  
?> 

chevron_right


Output:

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

geeks for geeks!


My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.