PHP convert_uudecode() 函数

PHP 教程 · 2019-01-29 11:29:44

实例

对 uuencode 编码的字符串进行解码:

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

定义和用法

convert_uudecode() 函数对 uuencode 编码的字符串进行解码。

该函数通常与 convert_uuencode() 函数一起使用。

语法


convert_uudecode(string)


参数 D描述
string 必需。规定要解码的 uuencode 编码的字符串。

技术细节

返回值: 以字符串形式返回解码的数据。
PHP 版本: 5+

更多实例

实例 1

编码字符串,然后对它进行解码:

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

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

点击查看所有 PHP 教程 文章: https://www.codercto.com/courses/l/5.html

查看所有标签

Weaving the Web

Weaving the Web

Tim Berners-Lee / Harper Paperbacks / 2000-11-01 / USD 15.00

Named one of the greatest minds of the 20th century by Time , Tim Berners-Lee is responsible for one of that century's most important advancements: the world wide web. Now, this low-profile genius-wh......一起来看看 《Weaving the Web》 这本书的介绍吧!

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具