array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'swoole-connection-iterator.offsetset.php', 1 => 'Swoole\\Connection\\Iterator::offsetSet', 2 => 'Assign a Connection to the specified offset.', ), 'up' => array ( 0 => 'class.swoole-connection-iterator.php', 1 => 'Swoole\\Connection\\Iterator', ), 'prev' => array ( 0 => 'swoole-connection-iterator.offsetget.php', 1 => 'Swoole\\Connection\\Iterator::offsetGet', ), 'next' => array ( 0 => 'swoole-connection-iterator.offsetunset.php', 1 => 'Swoole\\Connection\\Iterator::offsetUnset', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/swoole/swoole/connection/iterator/offsetset.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

Swoole\Connection\Iterator::offsetSet

(PECL swoole >= 1.9.0)

Swoole\Connection\Iterator::offsetSetAssign a Connection to the specified offset.

Beschreibung

public Swoole\Connection\Iterator::offsetSet(int $offset, mixed $connection): void

Assign a Connection to the specified offset.

Parameter-Liste

offset

The offset to assign the Connection to.

connection

The connection to set.

Rückgabewerte