Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Swoole\Client::wakeupSwoole\Connection\Iterator::count>
^SwooleLast updated: Mon, 26 Oct 2026

The Swoole\Connection\Iterator class

(PECL swoole >= 1.9.0)

Introduction

Class synopsis

class Swoole\Connection\Iterator implements Iterator, Countable, ArrayAccess {
/* Methods */
public function count(): int
public function current(): Connection
public function key(): int
public function next(): Connection
public function offsetExists(int $index): bool
public function offsetGet(string $index): Connection
public function offsetSet(int $offset, mixed $connection): void
public function offsetUnset(int $offset): void
public function rewind(): void
public function valid(): bool
}

Table of Contents


<Swoole\Client::wakeupSwoole\Connection\Iterator::count>
^SwooleLast updated: Mon, 26 Oct 2026