Swoole\Table
PHP Manual

Swoole\Table::count

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

Swoole\Table::countCount the rows in the table, or count all the elements in the table if $mode = 1.

说明

public integer Swoole\Table::count ( void )

参数

此函数没有参数。

返回值


Swoole\Table
PHP Manual