WeakMap
PHP Manual

WeakMap::current

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

参数

此函数没有参数。

返回值

The value currently being iterated on.


WeakMap
PHP Manual