跳转到主要内容

key

Iterator::key

Return the key of the current element

ENTITY

public

mixed

Iterator::key

Returns the key of the current element.

ENTITY ENTITY

ENTITY

Returns scalar on success, or ENTITY on failure.

ENTITY

Issues E_NOTICE on failure.