PHP 8.1.15 Released!

WeakReference::create

(PHP 7 >= 7.4.0, PHP 8)

WeakReference::create创建新的弱引用

说明

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

创建新的 WeakReference

参数

object

要弱引用的对象。

返回值

返回刚刚实例化的对象。

add a note

User Contributed Notes

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