Menu

Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.

Open source

base64_decode

The base64_decode function decodes a RFC4648-compliant Base64-encoded string into the original string.

base64_decode fails if the provided string argument contains invalid Base64 data.

Examples

> base64_decode("dGFuZ2VyaW5l")
tangerine