phpday 2027 - Call for Papers

IteratorIterator::key

(PHP 5 >= 5.1.0, PHP 7, PHP 8)

IteratorIterator::key — Obtener la clave del elemento actual

Descripción

public function IteratorIterator::key(): mixed

Obtiene la clave del elemento actual.

Parámetros

Esta función no contiene ningún parámetro.

Valores devueltos

La clave del elemento actual.

Véase también

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top