PHP 8.5.0 Beta 2 available for testing

WeakReference::get

(PHP 7 >= 7.4.0, PHP 8)

WeakReference::getGet a weakly referenced Object

Description

public WeakReference::get(): ? object

Gets a weakly referenced object. If the object has already been destroyed, null is returned.

Parameters

This function has no parameters.

Return Values

Returns the referenced object , or null if the object has been destroyed.

Found A Problem?

Learn How To Improve This PageSubmit a Pull RequestReport a Bug
+add a note

User Contributed Notes

There are no user contributed notes for this page.

AltStyle によって変換されたページ (->オリジナル) /