Calling this function is the same as doing:
<?php
chunk_split(base64_encode($string), 60);
?>
(PHP 4, PHP 5, PHP 7, PHP 8)
imap_binary — Convert an 8bit string to a base64 string
Convert an 8bit string to a base64 string according to » RFC2045, Section 6.8.
string
The 8bit string
Returns a base64 encoded string, ou false
em caso de falha.
Calling this function is the same as doing:
<?php
chunk_split(base64_encode($string), 60);
?>