WeakReference::get

(PHP 7 >= 7.4.0, PHP 8)

WeakReference::getGet a weakly referenced Object

Beschreibung

public WeakReference::get ( ) : object|null

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

Parameter-Liste

Diese Funktion besitzt keine Parameter.

Rückgabewerte

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

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top