PHP 8.1.28 Released!

Closure::__construct

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

Closure::__construct用于禁止实例化的构造函数

说明

private Closure::__construct()

这个方法仅用于禁止实例化一个 Closure 类的对象。这个类的对象的创建方法写在 匿名函数 页。

参数

此函数没有参数。

参见

add a note

User Contributed Notes

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