WeakMap
PHP Manual

WeakMap::current

(PECL weakref >= 0.2.0)

WeakMap::currentReturns the current value under iteration

Description

public mixed WeakMap::current ( void )

Returns the current value being iterated on in the map.

Parameters

This function has no parameters.

Return Values

The value currently being iterated on.


WeakMap
PHP Manual