Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

SplFixedArray::key

(PHP 5 >= 5.3.0, PHP 7)

SplFixedArray::keyReturn current array index

Description

public int SplFixedArray::key ( void )

Returns the current array index.

Parameters

This function has no parameters.

Return Values

The current array index.