Skip to content

base64_encode

Signature

base64_encode(string)

Description

Encodes a regular, plaintext and unencoded string to base64.

Examples

base64_encode('foo') == 'Zm9vCg=='