Looking at the APC source, apc_clear_cache() only recognizes "user" as a cache_type. If cache_type is omitted, or any other string (including "opcode") is provided, the effect is to clear the system cache.
apc_clear_cache
(PECL apc >= 2.0.0)
apc_clear_cache — Limpa o cache do APC.
Descrição
bool apc_clear_cache
([ string $cache_type
] )
Limpa o cache do usuário/sistema.
Valor Retornado
Retorna TRUE em caso de sucesso ou FALSE em falhas.
Parâmetros
- cache_type
-
Se cache_type for "user", o cache do usuário será limpado; caso contrário, o sistema de cache (arquivos cacheados) será limpo.
anthon at piwik dot org
29-Feb-2012 06:41
Colin M
15-Jun-2010 07: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.
