PHP: Hypertext Preprocessor (original) (raw)
Change language:
WeakReference::get
(PHP 7 >= 7.4.0, PHP 8)
WeakReference::get — Get a weakly referenced Object
Description
public WeakReference::get(): ?object
Gets a weakly referenced object. If the object has already been destroyed, [null](reserved.constants.php#constant.null)
is returned.
Parameters
This function has no parameters.
Return Values
Returns the referenced object, or [null](reserved.constants.php#constant.null)
if the object has been destroyed.
Found A Problem?
Learn How To Improve This Page •Submit a Pull Request •Report a Bug
User Contributed Notes
There are no user contributed notes for this page.