WeakRef
在线手册:中文 英文
PHP手册

Weakref::get

(PECL weakref >= 0.1.0)

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

说明

public object Weakref::get ( void )

Returns the object pointed to by the weak reference.

参数

此函数没有参数。

返回值

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

参见


WeakRef
在线手册:中文 英文
PHP手册