略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: Yac

2024-05-02

The Yac class

(PECL yac >= 1.0.0)

简介

类摘要

class Yac {
/* 属性 */
protected $_prefix;
/* 方法 */
public __construct(string $prefix = "")
public add(string $keys, mixed $value, int $ttl = 0): bool
public add(array $key_vals): bool
public delete(string|array $keys, int $ttl = ?): bool
public dump(int $$num): mixed
public flush(): bool
public get(string|array $key, int &$cas = null): mixed
public __get(string $key): mixed
public info(): array
public set(string $keys, mixed $value, int $ttl = 0): bool
public add(array $key_vals): bool
public __set(string $keys, mixed $value): mixed
}

属性

_prefix

目录

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

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

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