- PHP 正则表达式(PCRE)
- PHP 图像处理
- PHP 5 Array 函数
- PHP 5 Calendar 函数
- PHP cURL 函数
- PHP 5 Date/Time 函数
- PHP 5 Directory 函数
- PHP Error 和 Logging 函数
- PHP 5 Filesystem 函数
- PHP Filter 函数
- PHP FTP 函数
- PHP HTTP 函数
- PHP Libxml 函数
- PHP Mail 函数
- PHP 5 Math 函数
- PHP 杂项 函数
- PHP 5 MySQLi 函数
- PHP 5 SimpleXML 函数
- PHP lcfirst() 函数
- PHP 5 String 函数
- PHP XML Parser 函数
- PHP Zip File 函数
- PHP 5 时区
PHP convert_uudecode() 函数
实例
对 uuencode 编码的字符串进行解码:
$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;
?>
$str = "Hello world!";
// Encode the string
$encodeString = convert_uuencode($str);
echo $encodeString . "<br>";
// Decode the string
$decodeString = convert_uudecode($encodeString);
echo $decodeString;
?>
PHP String 参考手册
关注微信小程序
扫描二维码
程序员编程王