PHP 8.4.1 Released!

WeakReference::create

(PHP 7 >= 7.4.0, PHP 8)

WeakReference::createCreate a new weak reference

Опис

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

Creates a new WeakReference.

Параметри

object

The object to be weakly referenced.

Значення, що повертаються

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

add a note

User Contributed Notes

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