PHP 8.4.6 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.

User Contributed Notes

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