PHP function base64_decode()

Availability in PHP 4.0

Decodes data encoded with MIME base64

Parameters

Parameter Data type Default value Note
$data string not The encoded data.
$strict bool null Returns false if input contains character from outside the base64 alphabet.

Return values

string

|bool the original data or false on failure. The returned data may be binary.

Other resources

Official documentation of the base64-decode function

Newsletter

Nejlepsi tipy a triky o PHP do Vaseho e-mailu. Clanky a novinky nejen ze sveta PHP a programovani.