HH\Iterator::key

( excerpt from http://php.net/manual/en/iterator.key.php )

Description

public function key()

( excerpt from http://php.net/manual/en/iterator.key.php )

Returns the key of the current element.

Return Values

  • mixed - Returns scalar on success, or NULL on failure.