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

Swoole\Connection\Iterator::offsetExists

(PECL swoole >= 1.9.0)

Swoole\Connection\Iterator::offsetExists — Check if offset exists.

Description

public function Swoole\Connection\Iterator::offsetExists(int $index): bool

Check if offset exists.

Parameters

index

The offset being checked.

Return Values

Returns TRUE if the offset exists, otherwise FALSE.


<Swoole\Connection\Iterator::nextSwoole\Connection\Iterator::offsetGet>
^Swoole\Connection\IteratorLast updated: Mon, 26 Oct 2026