略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: WeakMap::offsetGet

2024-04-29

WeakMap::offsetGet

(PHP 8)

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

说明

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

返回某个对象指向的值。

参数

object

map 中包含的 key 对象。

返回值

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

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/weakmap.offsetget.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3