WeakReference::create
(PHP 7 >= 7.4.0, PHP 8)
WeakReference::create — Create a new weak reference
Description
Creates a new WeakReference.
Parameters
-
object
-
The object to be weakly referenced.
Return Values
Returns the freshly instantiated object.