w3resource

PHP : convert_uuencode() function

PHP: Uuencode a string

The convert_uuencode() function is used to encode a uuencoded string.

Version

(PHP 5)

Syntax

convert_uuencode(string_data)

Parameter

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

Return values

Returns the uuencoded data

Value Type: String.

Pictorial Presentation

php-string-convert_uuencode()

Example:

<?php
$string_data = "Good Morning...";
echo convert_uuencode($string_data);
?>

Output:

/1V]O9"!-;W)N:6YG+BXN

View the example in the browser

See also

PHP Function Reference

Previous: convert_uudecode
Next: count_chars



Become a Patron!

Follow us on Facebook and Twitter for latest update.

It will be nice if you may share this link in any developer community or anywhere else, from where other developers may find this content. Thanks.

https://w3resource.com/php/function-reference/convert_uuencode.php