php man page for base64_decode

Query: base64_decode

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

BASE64_DECODE(3)							 1							  BASE64_DECODE(3)

base64_decode - Decodes data encoded with MIME base64

SYNOPSIS
string base64_decode (string $data, [bool $strict = false])
DESCRIPTION
Decodes a base64 encoded $data.
PARAMETERS
o $data - The encoded data. o $strict - Returns FALSE if input contains character from outside the base64 alphabet.
RETURN VALUES
Returns the original data or FALSE on failure. The returned data may be binary.
CHANGELOG
+--------+---------------+ |Version | | | | | | | Description | | | | +--------+---------------+ | 5.2.0 | | | | | | | $strict added | | | | +--------+---------------+
EXAMPLES
Example #1 base64_decode(3) example <?php $str = 'VGhpcyBpcyBhbiBlbmNvZGVkIHN0cmluZw=='; echo base64_decode($str); ?> The above example will output: This is an encoded string
SEE ALSO
base64_encode(3), RFC 2045 section 6.8. PHP Documentation Group BASE64_DECODE(3)
Related Man Pages
base64(n) - suse
hex2bin(3) - php
urldecode(3) - php
imagecreatefromstring(3) - php
imagick.readimageblob(3) - php
Similar Topics in the Unix Linux Community
gunzip and base64 decode a string
Using SED to fix base64_decode attack/hack