phpday 2027 - Call for Papers

SplFixedArray::key

(PHP 5 >= 5.3.0, PHP 7)

SplFixedArray::key — Return current array index

Увага

Цей функціонал ВИЛУЧЕНИЙ в PHP 8.0.0.

Опис

public function SplFixedArray::key(): int

Returns the current array index.

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

The current array index.

Журнал змін

Версія Опис
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