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\Connection\Iterator::offsetExistsSwoole\Connection\Iterator::offsetSet>
^Swoole\Connection\IteratorLast updated: Mon, 26 Oct 2026

Swoole\Connection\Iterator::offsetGet

(PECL swoole >= 1.9.0)

Swoole\Connection\Iterator::offsetGet — Offset to retrieve.

Description

public function Swoole\Connection\Iterator::offsetGet(string $index): Connection

Return the connection at specified offset.

Parameters

index

The offset to retrieve.

Return Values


<Swoole\Connection\Iterator::offsetExistsSwoole\Connection\Iterator::offsetSet>
^Swoole\Connection\IteratorLast updated: Mon, 26 Oct 2026