php man page for imap_gc

Query: imap_gc

OS: php

Section: 3

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

IMAP_GC(3)								 1								IMAP_GC(3)

imap_gc - Clears IMAP cache

SYNOPSIS
bool imap_gc (resource $imap_stream, int $caches)
DESCRIPTION
Purges the cache of entries of a specific type.
PARAMETERS
o $ imap_stream -An IMAP stream returned by imap_open(3). o $caches - Specifies the cache to purge. It may one or a combination of the following constants: IMAP_GC_ELT (message cache elements), IMAP_GC_ENV (enveloppe and bodies), IMAP_GC_TEXTS (texts).
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1 imap_gc(3) example <?php $mbox = imap_open("{imap.example.org:143}", "username", "password"); imap_gc($mbox, IMAP_GC_ELT); ?> PHP Documentation Group IMAP_GC(3)
Related Man Pages
imap_get_quota(3) - php
imap_append(3) - php
imap_mailboxmsginfo(3) - php
imap_reopen(3) - php
imap_set_quota(3) - php
Similar Topics in the Unix Linux Community
User Guide: Posting in the Emergency Forum
Rules for Homework &amp; Coursework Questions Forum
UNIX.COM 2017 Year End Summary
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun