Php/docs/weakmap.current

来自菜鸟教程
跳转至:导航、​搜索

WeakMap::current

(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.


参数

此函数没有参数。


返回值

The value currently being iterated on.