WeakReference::create
(PHP 7 >= 7.4.0, PHP 8)
WeakReference::create — Create a new weak reference
说明
Creates a new WeakReference.
参数
-
object
-
The object to be weakly referenced.
返回值
Returns the freshly instantiated object.
(PHP 7 >= 7.4.0, PHP 8)
WeakReference::create — Create a new weak reference
Creates a new WeakReference.
object
The object to be weakly referenced.
Returns the freshly instantiated object.