• 首页
  • vue
  • TypeScript
  • JavaScript
  • scss
  • css3
  • html5
  • php
  • MySQL
  • redis
  • jQuery
  • imap_binary()

    (PHP 4, PHP 5, PHP 7)

    Convert an 8bit string to a base64 string

    说明

    imap_binary(string $string): string

    Convert an 8bit string to a base64 string according to » RFC2045, Section 6.8.

    参数

    $string

    The 8bit string

    返回值

    Returns a base64 encoded string.

    参见

    Calling this function is the same as doing:
    <?php
    chunk_split(base64_encode($string), 60);
    ?>
    

    上篇:imap_base64()

    下篇:imap_body()