phpday 2027 - Call for Papers

WeakReference::get

(PHP 7 >= 7.4.0, PHP 8)

WeakReference::get — Obtiene un objeto débilmente referenciado

Descripción

public function WeakReference::get(): ?object

Se obtiene un objeto débilmente referenciado. Si el objeto ya ha sido destruido, devuelve null.

Parámetros

Esta función no contiene ningún parámetro.

Valores devueltos

Devuelve el referenciado object, o null si el objeto ha sido destruido.

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