codecamp

PHP8 APCUIterator::getTotalHits — 获取缓存命中总数

(PECL apcu >= 5.0.0)

APCUIterator::getTotalHits — 获取缓存命中总数。

说明

public APCUIterator::getTotalHits(): int

获取缓存命中总数。

警告
本函数还未编写文档,仅有参数列表。

参数

此函数没有参数。

返回值

The number of hits on success, or false on failure.

参见

  • APCUIterator::getTotalCount() - Get total count
  • APCUIterator::getTotalSize() - Get total cache size
  • apcu_cache_info() - 从 APCu 存储中获取缓存信息


PHP8 APCUIterator::getTotalCount — 获取总计数
PHP8 APCUIterator::getTotalSize — 获取总缓存大小
温馨提示
下载编程狮App,免费阅读超1000+编程语言教程
取消
确定