PHP 8.3.4 Released!

imap_binary

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

imap_binaryConvertit une chaîne à 8 bits en une chaîne à base64

Description

imap_binary(string $string): string|false

Convertit la chaîne à 8 bits string en une chaîne à base64 (selon la » RFC2045, Section 6.8).

Liste de paramètres

string

La chaîne 8 bits

Valeurs de retour

Retourne la chaîne encodée en base64, ou false si une erreur survient.

Voir aussi

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