← All built-ins / base64_decode()
base64_decode()
base64_decode(string $s): string
Parameters
| Name | Type | Description |
|---|---|---|
| $s | string | Base64 text |
Return value
The decoded raw bytes; invalid characters are skipped.
Example
echo base64_decode("aG9seSBwaHA=");holy php