PHP - Manual: WeakMap::key
2025-11-06
(PECL weakref >= 0.2.0)
WeakMap::key — Returns the current key under iteration
Returns the object serving as key in the map, at the current iterating position.
此函数没有参数。
The object key currently being iterated.
官方地址:https://www.php.net/manual/en/weakmap.key.php