Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<imap_appendimap_binary>
^IMAP FunctionsLast updated: Mon, 26 Oct 2026

imap_base64

(PHP 4, PHP 5, PHP 7, PHP 8)

imap_base64 — Decode BASE64 encoded text

Description

function imap_base64(string $string): string|false

Decodes the given BASE-64 encoded string.

Parameters

string

The encoded text

Return Values

Returns the decoded message as a string, or false on failure.

See Also


<imap_appendimap_binary>
^IMAP FunctionsLast updated: Mon, 26 Oct 2026