略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: Yac::__construct

2024-12-22

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 noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/yac.construct.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3