WeakReference::get

(PHP 7 >= 7.4.0)

WeakReference::getGet a weakly referenced Object

説明

public WeakReference::get ( void ) : ?object

Gets a weakly referenced object. If the object has already been destroyed, NULL is returned.

パラメータ

この関数にはパラメータはありません。

返り値

Returns the referenced object, or NULL if the object has been destroyed.