SplFixedArray::key

(PHP 5 >= 5.3.0, PHP 7)

SplFixedArray::keyReturn current array index

Description

public SplFixedArray::key ( void ) : int

Returns the current array index.

Parameters

This function has no parameters.

Return Values

The current array index.