PHP - Manual: mysqlnd_qc_clear_cache
2024-12-20
(PECL mysqlnd_qc >= 1.0.0)
mysqlnd_qc_clear_cache — Flush all cache contents
Flush all cache contents.
Flushing the cache is a storage handler responsibility. All built-in storage handler but the memcache storage handler support flushing the cache. The memcache storage handler cannot flush its cache contents.
User-defined storage handler may or may not support the operation.
此函数没有参数。
成功时返回 TRUE
, 或者在失败时返回 FALSE
。
A return value of
FALSE
indicates that flushing all cache contents has
failed or the operation is not supported by
the active storage handler. Applications must
not expect that calling the function will always
flush the cache.
官方地址:https://www.php.net/manual/en/function.mysqlnd-qc-clear-cache.php