ArrayIterator::offsetGet

(PHP 5, PHP 7, PHP 8)

ArrayIterator::offsetGetGet value for an offset

說明

public ArrayIterator::offsetGet(mixed $key): mixed

Gets the value from the provided offset.

警告

本函數(shù)還未編寫文檔,僅有參數(shù)列表。

參數(shù)

key

The offset to get the value from.

返回值

The value at offset key.

參見