Returns the current key under iteration.


(PECL weakref >= 0.2.0)

WeakMap::keyReturns the current key under iteration.

Описание

public object WeakMap::key ( void )

Returns the object serving as key in the map, at the current iterating position.

Список параметров

У этой функции нет параметров.

Возвращаемые значения

The object key currently being iterated.