PHP 8.4.0 RC4 available for testing

Yac::__construct

(PECL yac >= 1.0.0)

Yac::__constructConstructor

Опис

public Yac::__construct(string $prefix = "")

prefix is used to prepended to keys, this could be used to avoiding conflicts between apps.

Параметри

prefix

string prefix

Помилки/виключення

Throws an Exception if Yac is not enabled. Throws Exception if prefix exceeds max key length of 48 (YAC_MAX_KEY_LEN) bytes.

add a note

User Contributed Notes

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