Current Location: Home> Function Categories> convert_uudecode

convert_uudecode

Decode a uuencode encoded string
Name:convert_uudecode
Category:String
Programming Language:php
One-line Description:Decode uuencode encoded string.

Definition and usage

convert_uudecode() function decodes the uuencode encoded string.

This function is often used with the convert_uuencode() function.

Example

Example 1

Decode the uuencode encoded string:

 <?php
$str = ",2&5L;&\@=V]R;&0A `" ;
echo convert_uudecode ( $str ) ;
?>

Try it yourself

Example 2

Encode the string and decode it:

 <?php
$str = "Hello world!" ;
// Encode strings
$encodeString = convert_uuencode ( $str ) ;
echo $encodeString . "<br>" ;

// Decode the string
$decodeString = convert_uudecode ( $encodeString ) ;
echo $decodeString ;
?>

Try it yourself

grammar

 convert_uudecode ( string )
parameter describe
string Required. Specifies the uuencode encoded string to be decoded.
Similar Functions
Popular Articles