文字

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::valid() - Checks whether the object referenced still exists
上一篇: 下一篇: