PHP Doku:: Clears the APC cache - function.apc-clear-cache.html

Verlauf / Chronik / History: (6) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzDas Verhalten von PHP beeinflussenAlternativer PHP CacheAPC Funktionenapc_clear_cache

Ein Service von Reinhard Neidl - Webprogrammierung.

APC Funktionen

<<apc_cas

apc_compile_file>>

apc_clear_cache

(PECL apc >= 2.0.0)

apc_clear_cache Clears the APC cache

Beschreibung

bool apc_clear_cache ([ string $cache_type ] )

Clears the user/system cache.

Rückgabewerte

Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.

Parameter-Liste

cache_type

If cache_type is "user", the user cache will be cleared; otherwise, the system cache (cached files) will be cleared.

Siehe auch


Ein BenutzerBeitrag:
- Beiträge aktualisieren...
Colin M
15.06.2010 22:13
It appears for me in PHP 5.2.11/APC 3.1.2 that to clear the opcode cache the argument must be 'opcode'. Having no argument seems to have no effect.



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)