← All docs

base64_decode()

Decodes a Base64-encoded string back into its original data.

base64_decode()

function base64_decode(string $string): string

Decodes a Base64-encoded string back into its original data.

Parameters:

  • $string (string)

Returns: string

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

For how base64_decode is implemented in the compiler, see the internals page.