WeakMap::current
(PECL weakref >= 0.2.0)
WeakMap::current — Returns 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.
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/weakmap.current.php