WeakRef
PHP Manual

Weakref::get

(PECL weakref >= 0.1.0)

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

Descrição

public object Weakref::get ( void )

Returns the object pointed to by the weak reference.

Parâmetros

Esta função não possui parâmetros.

Valor Retornado

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

Veja Também


WeakRef
PHP Manual