convert_uudecode
Decode a uuencode encoded string
convert_uudecode()
function decodes the uuencode encoded string.
This function is often used with the convert_uuencode()
function.
Decode the uuencode encoded string:
<?php $str = ",2&5L;&\@=V]R;&0A `" ; echo convert_uudecode ( $str ) ; ?>
Try it yourself
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
convert_uudecode ( string )
parameter | describe |
---|---|
string | Required. Specifies the uuencode encoded string to be decoded. |