PHP: Hypertext Preprocessor (original) (raw)

Change language:

WeakReference::create

(PHP 7 >= 7.4.0, PHP 8)

WeakReference::create — Create a new weak reference

Description

public static WeakReference::create(object $object): WeakReference

Creates a new WeakReference.

Parameters

object

The object to be weakly referenced.

Return Values

Returns a new WeakReference, or the existing instance if there was already a WeakReference to the same object.

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.