(PHP 7 >= 7.4.0, PHP 8)
WeakReference::get — Get a weakly referenced Object
Gets a weakly referenced object. If the object has already been destroyed, null is returned.
null
У цієї функції немає параметрів.
Returns the referenced object, or null if the object has been destroyed.