PHP 8.3.0 RC 6 available for testing

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