|
Previous Page |
Solar_Mime |
Next Page |
encode()
static public
string
encode (
string $type,
string $text,
string $crlf
)
Applies the requested encoding to a text string.
Parameters
- (string)
$type: The type of encoding to use; '7bit', '8bit', 'base64', or 'quoted-printable'. - (string)
$text: The text to encode. - (string)
$crlf: The line-ending to use; default "\r\n".
Returns
- (string) The encoded text.
Description
Applies the requested encoding to a text string.