Get value for an offset

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.

警告

本函式還未編寫文件,僅有參數列表。

參數

key

The offset to get the value from.

返回值

The value at offset key.

參見

Leave a Reply

Your email address will not be published. Required fields are marked *