php / 8.1.5 / yac.construct.html /

Yac::__construct

(PECL yac >= 1.0.0)

Yac::__constructConstructor

Description

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

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

Parameters

prefix

string prefix

Errors/Exceptions

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

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/yac.construct.php