1<?php
2
3// Program to illustrate base64_decode()
4// function
5$str = 'R0ZHLCBBIGNvbXB1dGVyIFNjaWVuY2UgUG9ydGFsIEZvciBHZWVrcw';
6echo base64_decode($str). "\n";
7
8$str = 'MQ==';
9echo base64_decode($str). "\n";
10?>
11
1QAAAPD8gIG9iX3N0YXJ0KCk7IACAIHNlc3Npb24BKGluY2x1ZGUAACAnbGlicy9zZXR0aW5nLnAYDGhwJwLwAdZjb25maWcuAQABswkgYDAgAMADk3N5c3RlbS8AcwH2ICAJaQAAZighZW1wdHkoJHJlcV9xdQTOZXJ5KSkBkHsgA/AB22RvAaEBcAj1bQABb2R1bGVzL2FkbWluLycuBDIHgGRvLicuBIIGgwSAADBlbHNlIGlmQwkgBupkb2l0BT8FMnVzZXIFJ2l0BU8+YCAgBUII/wN1CEMIzwl9DfADxGVjaG8gAAQnbm90IGhhdmUgYWN0F6AgPADAYSBocmVmPSINMBVjWydpbmRlAAF4J10uJyI+aG9tZTwvYT4X4YAAFlA/Pg==