CakeFest 2024: The Official CakePHP Conference

WeakMap::offsetGet

(PHP 8)

WeakMap::offsetGet返回某个对象指向的值

说明

public WeakMap::offsetGet(object $object): mixed

返回某个对象指向的值。

参数

object

map 中包含的 key 对象。

返回值

返回与作为参数传入对象关联的值, 否则返回 null

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top