WeakReference::create

(PHP 7 >= 7.4.0, PHP 8)

WeakReference::create创建新的弱引用

说明

public static WeakReference::create(object $object): WeakReference

创建新的 WeakReference

参数

object

要弱引用的对象。

返回值

返回刚刚实例化的对象。

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

备份地址:http://www.lvesu.com/blog/php/weakreference.create.php