w3resource

PHP: convert_uudecode() function

Description

The convert_uudecode() function is used to decode a uuencoded string.

Version:

(PHP 5)

Syntax:

convert_uudecode(string_data)

Parameter:

Name Description Required /
Optional
Type
string_data The uuencoded data. Required String

Return values:

The decoded data as a string.

Value Type: String.

Pictorial Presentation

php-string-convert_uudecode()

Example:

<?php
$string_data = '/1V]O9"!-;W)N:6YG+BXN `';
echo convert_uuencode($string_data);
?>

Output:

Good Morning...

View the example in the browser

See also

PHP Function Reference

Previous: convert_cyr_string
Next: convert_uuencode



PHP: Tips of the Day

PHP: PHPDoc type hinting for array of objects?

Use:

/* @var $objs Test[] */
foreach ($objs as $obj) {
    // Typehinting will occur after typing $obj->
}

when typehinting inline variables, and

class A {
    /** @var Test[] */
    private $items;
}

Ref : https://bit.ly/31a2QJN