Php/docs/weakmap.current

From Get docs

WeakMap::current

(PECL weakref >= 0.2.0)

WeakMap::currentReturns the current value under iteration


Description

public WeakMap::current ( ) : mixed

Returns the current value being iterated on in the map.


Parameters

This function has no parameters.


Return Values

The value currently being iterated on.