PHP 8.1.28 Released!

InternalIterator::key

(PHP 8)

InternalIterator::keyReturn the key of the current element

Description

public InternalIterator::key(): mixed

Returns the key of the current element.

Parameters

This function has no parameters.

Return Values

Returns the key of the current element.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top