PHP Conference Kansai 2026 (JAPAN)

SplFixedArray::key

(PHP 5 >= 5.3.0, PHP 7)

SplFixedArray::key — Return current array index

Avviso

This feature was REMOVED as of PHP 8.0.0.

Descrizione

public function SplFixedArray::key(): int

Returns the current array index.

Elenco dei parametri

Questa funzione non contiene parametri.

Valori restituiti

The current array index.

Log delle modifiche

Versione Descrizione
8.0.0 Removed this function. Use SplFixedArray::getIterator() instead.
+add a note

User Contributed Notes

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