downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

imap_get_quota> <imap_fetchtext
[edit] Last updated: Fri, 07 Jun 2013

view this page in

imap_gc

(PHP 5 >= 5.3.0)

imap_gcIMAP önbelleğini temizler

Açıklama

string imap_gc ( resource $imap_akımı , int $önbellek_türü )

Türü belirtilen önbellek girdilerini siler.

Değiştirgeler

imap_akımı

imap_open() işlevinden dönen bir IMAP akımı.

önbellek_türü

Silinecek önbellek türü. Şu sabitlerden biri veya birkaçı belirtilebilir: IMAP_GC_ELT (ileti önbellek elemanları), IMAP_GC_ENV (zarflar ve gövdeler), IMAP_GC_TEXTS (metinler).

Dönen Değerler

TRUE döner.

Örnekler

Örnek 1 - imap_gc() örneği

<?php

$mbox 
imap_open("{imap.example.org:143}""username""password");

imap_gc($mboxIMAP_GC_ELT);

?>



add a note add a note User Contributed Notes imap_gc - [1 notes]
up
0
Anonymous
3 years ago
If you notice that you're program's memory usage is increasing (as observed using ps) while calling the imap functions, calling this function should free that memory.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites