在线文档教程

WeakMap::current

WeakMap::current

(PECL weakref >= 0.2.0)

WeakMap::current — Returns the current value under iteration

Description

public mixed WeakMap::current ( void )

Returns the current value being iterated on in the map.

Parameters

This function has no parameters.

Return Values

The value currently being iterated on.

← WeakMap::count

WeakMap::key →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/weakmap.current.php