Module function reference

read_cache_value

A reference entry for read_cache_value

Module function · Storage

read_cache_value(string name[, string decryption]) ⇒ mixed

Reads a value from ZPE's persistent cache. The optional decryption key must contain 16 characters. Returns undefined when the name is not cached. Requires permission level 4.

Example

YASS
$name = Storage::read_cache_value("last_user")
print($name)

Notes

The legacy predefined function reads values written in ZPE's persistent cache format and returns undefined when the requested name is absent.