Menu Riverview Church

BASE64_DECODE

Decodes data encoded with MIME base64

SYNTAX

base64_decode ( string $data [, bool $strict = FALSE ] ) : string

PARAMETERS

data

The encoded data.

strict

If the strict parameter is set to TRUE then the base64_decode() function will return FALSE if the input contains characters from outside the base64 alphabet. Otherwise invalid characters will be silently discarded.

RETURN

Returns the decoded data or FALSE on failure. The returned data may be binary.

EXAMPLES

DATA

'This is an encoded string'

STRICT

false

INTERNAL

base64_encode

EXTERNAL

PHP