PHP 8.4.1 Released!

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.

返回值

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。
To Top