(PECL weakref >= 0.1.0)
Weakref::get — Returns the object pointed to by the weak reference
public Weakref::get ( ) : object
Returns the object pointed to by the weak reference.
This function has no parameters.
Returns the object if the reference is still valid, null
otherwise.
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/weakref.get.php