PHP 8.4.2 Released!

SplFixedArray::key

(PHP 5 >= 5.3.0, PHP 7)

SplFixedArray::keyReturn current array index

Description

public SplFixedArray::key(): int

Returns the current array index.

Parameters

This function has no parameters.

Return Values

The current array index.

add a note

User Contributed Notes

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