WeakRef
PHP Manual

Weakref::get

(PECL weakref >= 0.1.0)

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

Opis

public object Weakref::get ( void )

Returns the object pointed to by the weak reference.

Parametry

Ta funkcja nie posiada parametrów.

Zwracane wartości

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

Zobacz też:


WeakRef
PHP Manual