當前位置: 首頁> 函數類別大全> convert_uudecode

convert_uudecode

解碼一個uuencode 編碼的字符串
名稱:convert_uudecode
分類:字符串
所屬語言:php
一句話介紹:解碼uuencode 編碼字符串。

定義和用法

convert_uudecode()函數對uuencode 編碼的字符串進行解碼。

該函數常與convert_uuencode()函數一起使用。

實例

例子1

對uuencode 編碼的字符串進行解碼:

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

親自試一試

例子2

編碼字符串,然後對它進行解碼:

 <?php
$str = "Hello world!" ;
// 對字符串進行編碼
$encodeString = convert_uuencode ( $str ) ;
echo $encodeString . "<br>" ;

// 對字符串進行解碼
$decodeString = convert_uudecode ( $encodeString ) ;
echo $decodeString ;
?>

親自試一試

文法

convert_uudecode ( string )
參數 描述
string 必需。規定要解碼的uuencode 編碼的字符串。
同類函數
  • rtrim的別名 chop

    chop

    rtrim的別名
  • implode的別名 join

    join

    implode的別名
  • 返回有關字符串中使用的單詞的信息 str_word_count

    str_word_count

    返回有關字符串中使用的單詞的信息
  • 輸出格式化的字符串 vprintf

    vprintf

    輸出格式化的字符串
  • 單向字符串散列 crypt

    crypt

    單向字符串散列
  • 將邏輯順序希伯來文(logical-Hebrew)轉換為視覺順序希伯來文(visual-Hebrew) hebrev

    hebrev

    將邏輯順序希伯來文(logical-He
  • 使用uuencode 編碼一個字符串 convert_uuencode

    convert_uuencode

    使用uuencode編碼一個字符串
  • 使用另一個字符串將字符串填充到某個長度 str_pad

    str_pad

    使用另一個字符串將字符串填充到某個長度
熱門文章