Swoole\Connection\Iterator
PHP Manual

Swoole\Connection\Iterator::count

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

Swoole\Connection\Iterator::countCount connections.

Description

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

Gets the number of connections.

Parameters

This function has no parameters.

Return Values

The number of connections.


Swoole\Connection\Iterator
PHP Manual