略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: Yac::delete

2024-11-14

Yac::delete

(PECL yac >= 1.0.0)

Yac::deleteRemove items from cache

说明

public Yac::delete(string|array $keys, int $ttl = ?): bool

remove items from cache

参数

keys

string key, or array of multiple keys to be removed

ttl

if delay is set, delete will mark the items to be invalid in ttl second.

返回值

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/yac.delete.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3