Weakref::get

(PECL weakref >= 0.1.0)

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

说明

public Weakref::get ( void ) : object

Returns the object pointed to by the weak reference.

参数

此函数没有参数。

返回值

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

参见

关注编程学问公众号