PHP - Manual: Weakref::get
2026-03-30
(PECL weakref >= 0.1.0)
Weakref::get — Returns the object pointed to by the weak reference
Returns the object pointed to by the weak reference.
此函数没有参数。
Returns the object if the reference is still valid, NULL otherwise.