WeakRef
PHP Manual

Weakref::get

(PECL weakref >= 0.1.0)

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

Descrierea

public object Weakref::get ( void )

Returns the object pointed to by the weak reference.

Parametri

Această funcție nu are parametri.

Valorile întoarse

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

A se vedea și


WeakRef
PHP Manual