2024 年 PHP Conference Japan

ArrayIterator::offsetExists

(PHP 5, PHP 7, PHP 8)

ArrayIterator::offsetExists檢查偏移量是否存在

說明

public ArrayIterator::offsetExists(混合 $key): 布林值

檢查偏移量是否存在。

警告

此函式目前沒有說明文件;僅提供其參數列表。

參數

鍵值

正在檢查的偏移量。

返回值

如果偏移量存在則返回 true,否則返回 false

參見

新增筆記

使用者貢獻的筆記

此頁面沒有使用者貢獻的筆記。
To Top