InternalIterator::key

(PHP 8)

InternalIterator::keyReturn the key of the current element

说明

public InternalIterator::key(): mixed

Returns the key of the current element.

参数

此函数没有参数。

返回值

Returns the key of the current element.