Previous Page
encode()

Solar_Mime
encodeBase64()

Next Page
encodeQp()

encodeBase64()

static public string encodeBase64 ( string $text, string $crlf default ', int $len default 75 )

Applies "base64" encoding to text.

Parameters

  • (string) $text: The text to encode.
  • (string) $crlf: The line-ending to use; default "\r\n".
  • (int) $len: Break lines at this length; default 75.

Returns

  • (string) The encoded text.

Description

Applies "base64" encoding to text.