SplObjectStorage::key
SplObjectStorage::key
(PHP 5 >= 5.1.0, PHP 7)
SplObjectStorage::key — Returns the index at which the iterator currently is
Description
public int SplObjectStorage::key ( void )
Returns the index at which the iterator currently is.
Parameters
This function has no parameters.
Return Values
The index corresponding to the position of the iterator.