PHP 8.6.0RC7 available for testing

SplFixedArray::key

(PHP 5 >= 5.3.0, PHP 7)

SplFixedArray::key — Return current array index

Warnung

Dieses Feature wurde in PHP 8.0.0 ENTFERNT.

Beschreibung

public function SplFixedArray::key(): int

Returns the current array index.

Parameter-Liste

Diese Funktion besitzt keine Parameter.

Rückgabewerte

The current array index.

Changelog

Version Beschreibung
8.0.0 Diese Funktion wurde entfernt. Use SplFixedArray::getIterator() instead.
+add a note

User Contributed Notes

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