Weakref::get

(PECL weakref >= 0.1.0)

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

Description

public Weakref::get ( void ) : object

Returns the object pointed to by the weak reference.

Parameters

This function has no parameters.

Return Values

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

See Also