php8.5
Home/ Manual/ connection / iterator/ Swoole\Connection\Iterator::count

Swoole\Connection\Iterator::count

PHP function Edit on GitHub ✎

(PECL swoole >= 1.9.0)

Count connections.

Description

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

Gets the number of connections.

Parameters Parameters

Return Values

The number of connections.

Source: reference/swoole/swoole/connection/iterator/count.xml · from the official PHP manual (php/doc-en)