Swoole\Connection\Iterator::count

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

Swoole\Connection\Iterator::countCount connections.

说明

public Swoole\Connection\Iterator::count ( void ) : int

Gets the number of connections.

参数

此函数没有参数。

返回值

The number of connections.