imap_binary

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

imap_binaryConvert an 8bit string to a base64 string

Descrizione

imap_binary(string $string): string|false

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

Elenco dei parametri

string

The 8bit string

Valori restituiti

Returns a base64 encoded string, o false in caso di fallimento.

Vedere anche:

add a note 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