WeakMap::offsetGet
(PHP 8)
WeakMap::offsetGet — 返回某个对象指向的值
参数
-
object
-
map 中包含的 key 对象。
返回值
返回与作为参数传入对象关联的值,
否则返回 null
。

User Contributed Notes
There are no user contributed notes for this page.
(PHP 8)
WeakMap::offsetGet — 返回某个对象指向的值
object
map 中包含的 key 对象。
返回与作为参数传入对象关联的值,
否则返回 null
。