WeakReference::__construct

(PHP 7 >= 7.4.0, PHP 8)

WeakReference::__constructConstructor that disallows instantiation

说明

public WeakReference::__construct ( )

This method exists only to disallow instantiation of the WeakReference class. Weak references are to be instantiated with the factory method WeakReference::create().

参数

此函数没有参数。

参见

User Contributed Notes

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