Weakref::valid

(PECL weakref >= 0.1.0)

Weakref::validChecks whether the object referenced still exists

说锟斤拷

public Weakref::valid ( void ) : bool

Checks whether the object referenced still exists.

锟斤拷锟斤拷

锟剿猴拷锟斤拷没锟叫诧拷锟斤拷锟斤拷

锟斤拷锟斤拷值

Returns TRUE if the object still exists and is thus still accessible via Weakref::get(), FALSE otherwise.

锟轿硷拷

  • Weakref::get() - Returns the object pointed to by the weak reference