PHP - Manual: Yac::__construct
2024-11-15
(PECL yac >= 1.0.0)
Yac::__construct — Constructor
$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.
YAC_MAX_KEY_LEN
官方地址:https://www.php.net/manual/en/yac.construct.php