略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: Swoole\Table

2024-11-15

The Swoole\Table class

(PECL swoole >= 1.9.0)

简介

类摘要

class Swoole\Table implements Iterator, Countable {
/* Constants */
const int TYPE_INT = 1;
const int TYPE_STRING = 7;
const int TYPE_FLOAT = 6;
/* 方法 */
public column(string $name, string $type, int $size = ?): ReturnType
public count(): int
public create(): void
public current(): array
public decr(string $key, string $column, int $decrby = ?): ReturnType
public del(string $key): void
public destroy(): void
public exist(string $key): bool
public get(string $row_key, string $column_key): int
public incr(string $key, string $column, int $incrby = ?): void
public key(): string
public next(): ReturnType
public rewind(): void
public set(string $key, array $value): VOID
public valid(): bool
}

预定义常量

Swoole\Table::TYPE_INT

Swoole\Table::TYPE_STRING

Swoole\Table::TYPE_FLOAT

目录

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/class.swoole-table.php

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