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 the freshly instantiated object.

User Contributed Notes

There are no user contributed notes for this page.
PHP8中文手册 站长在线 整理 版权归PHP文档组所有