2024 日本 PHP 研討會

Swoole\Connection\Iterator::offsetExists

(PECL swoole >= 1.9.0)

Swoole\Connection\Iterator::offsetExists檢查偏移量是否存在。

說明

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

檢查偏移量是否存在。

參數

index

要檢查的偏移量。

傳回值

如果偏移量存在,則傳回 TRUE,否則傳回 FALSE。

新增註解

使用者貢獻的註解

此頁面尚無使用者提供的註記。
To Top