Skip to content

base64_decode ​

php
string base64_decode ( string $dane )

Decodes MIME base64-encoded data.

Example:

php
$test = base64_encode('example text');
print('Encoded text = '.$test."\n");

$test = base64_decode($test);
print('Decoded text = '.$test);

Result:

Encoded text = ZXhhbXBsZSB0ZXh0
Decoded text = example text