Decodes a Base64 string back to its original bytes. Invalid Base64 is rejected rather than returning garbage. Also registered as base64_decode.

Parameters

string
required
The Base64 text to decode.

Returns

string
The original bytes.

Example

Errors