key

key -- Fetch a key from an associative array

Description

mixed key(array array);

key() returns the index element of the current array position.

See also: current(), next()