WeakRef
PHP Manual

Weakref::get

(PECL weakref >= 0.1.0)

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

Descrizione

public object Weakref::get ( void )

Returns the object pointed to by the weak reference.

Elenco dei parametri

Questa funzione non contiene parametri.

Valori restituiti

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

Vedere anche:


WeakRef
PHP Manual