WeakRef
PHP Manual

Weakref::get

(PECL weakref >= 0.1.0)

Weakref::getReturns the object pointed to by the weak reference

説明

public object Weakref::get ( void )

Returns the object pointed to by the weak reference.

パラメータ

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

返り値

Returns the object if the reference is still valid, NULL otherwise.

参考


WeakRef
PHP Manual