PHP convert_uudecode() Function (original) (raw)

Last Updated : 18 Dec, 2018

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

$str = "geeks for geeks!" ;

$encodeString = convert_uuencode( $str );

echo $encodeString . "\n" ;

$decodeString = convert_uudecode( $encodeString );

echo $decodeString ;

?>

Output:

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

geeks for geeks!

Similar Reads