CakeFest 2024: The Official CakePHP Conference

imap_binary

(PHP 4, PHP 5, PHP 7, PHP 8)

imap_binary8 ビット文字列を base64 文字列に変換する

説明

imap_binary(string $string): string|false

» RFC2045, Section 6.8 に基づき)8 ビット文字列を base64 文字列に変換します。

パラメータ

string

8 ビット文字列。

戻り値

base64 エンコードされた文字列を返します。 失敗した場合に false を返します

参考

  • imap_base64() - BASE64 でエンコードされたテキストをデコードする

add a note

User Contributed Notes 1 note

up
-8
phunction.sf.net
13 years ago
Calling this function is the same as doing:

<?php

chunk_split
(base64_encode($string), 60);

?>
To Top