imap_binary

(PHP 4, PHP 5, PHP 7)

imap_binaryConvert an 8bit string to a base64 string

Description

imap_binary ( string $string ) : string

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

Parameters

string

The 8bit string

Return Values

Returns a base64 encoded string.

See Also

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.imap-binary.php