Function __global->base64_decode
Definitions
sources_custom/phpstub.php
- Decodes data encoded with MIME base64.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $encoded_data | string | No | No | required parameter | N/A | N/A | Encoded data |
| $strict | boolean | No | No | False | N/A | N/A | Return FALSE if input contains character from outside the base64 alphabet |
Returns
- Decoded data (false: error)
- Type: ~string
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Decodes data encoded with MIME base64.
*
* @param string $encoded_data Encoded data
* @param boolean $strict Return FALSE if input contains character from outside the base64 alphabet
* @return ~string Decoded data (false: error)
*/
function base64_decode(string $encoded_data, bool $strict = false)
* Decodes data encoded with MIME base64.
*
* @param string $encoded_data Encoded data
* @param boolean $strict Return FALSE if input contains character from outside the base64 alphabet
* @return ~string Decoded data (false: error)
*/
function base64_decode(string $encoded_data, bool $strict = false)

