base64decode php code example
Example 1: base64 decode in php
base64_decode('base64');
Example 2: how do decode base64 php
base64_decode('base64-string-goes-here');
Example 3: base64 decode php
<?php
// Program to illustrate base64_decode()
// function
$str = 'R0ZHLCBBIGNvbXB1dGVyIFNjaWVuY2UgUG9ydGFsIEZvciBHZWVrcw';
echo base64_decode($str). "\n";
$str = 'MQ==';
echo base64_decode($str). "\n";
?>
Example 4: base64 decode php
GFG, A computer Science Portal For Geeks
1