convert_uudecode()是PHP的內置函數。此函數解碼使用convert_uuencode()函數編碼的uuencoded字符串。 uudecode()函數使字符串可打印。句法:
string convert_uudecode(string)
參數:uuencoded字符串將被解碼。
返回類型:它返回一個解碼的字符串。
Example:
Input:/22!L;W9E(&UY(&EN9&EA` Output:I love my india
下麵的程序顯示convert_uudecode()函數的工作:
例
<?php
// PHP program illustrate the
// convert_uudecode() function
// Input String
$str = "geeks for geeks!";
// Encoding the string
$encodeString = convert_uuencode($str);
// printing encoded string
echo $encodeString . "\n";
// Decode the string
$decodeString = convert_uudecode($encodeString);
// Printing string in decoded format
echo $decodeString;
?>
輸出:
09V5E:W,@9F]R(&=E96MS(0`` ` geeks for geeks!
相關用法
- PHP exp()用法及代碼示例
- PHP Ds\Map put()用法及代碼示例
- PHP sin( )用法及代碼示例
- PHP abs()用法及代碼示例
- PHP Ds\Set xor()用法及代碼示例
- PHP cos( )用法及代碼示例
- PHP tan( )用法及代碼示例
- PHP next()用法及代碼示例
- PHP Ds\Map get()用法及代碼示例
- PHP pi( )用法及代碼示例
- PHP pow( )用法及代碼示例
- PHP Ds\Set get()用法及代碼示例
注:本文由純淨天空篩選整理自ankit15697大神的英文原創作品 PHP convert_uudecode() Function。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。