phpday 2027 - Call for Papers

WeakReference::get

(PHP 7 >= 7.4.0, PHP 8)

WeakReference::get — Get a weakly referenced Object

Descrizione

public function WeakReference::get(): ?object

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

Elenco dei parametri

Questa funzione non ha parametri.

Valori restituiti

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

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top