PHP 7.1.21 Released


(PECL weakref >= 0.2.0)

WeakMap::currentReturns the current value under iteration


public mixed WeakMap::current ( void )

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