PHP 8.0.0 Released!


(PECL weakref >= 0.2.0)

WeakMap::currentReturns the current value under iteration


public WeakMap::current ( ) : mixed

Returns the current value being iterated on in the map.


This function has no parameters.

Return Values

The value currently being iterated on.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top