PHP 8.4.0 RC4 available for testing

Yac::delete

(PECL yac >= 1.0.0)

Yac::deleteRemove items from cache

Descrizione

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

remove items from cache

Elenco dei parametri

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.

Valori restituiti

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top