Closure
在线手册:中文  英文

Closure::__construct

(PHP 5 >= 5.3.0)

Closure::__constructConstructor that disallows instantiation

说明

Closure::__construct ( void )

This method exists only to disallow instantiation of the Closure class. Objects of this class are created in the fashion described on the anonymous functions page.

参数

此函数没有参数。

返回值

This method has no return value; it simply emits an error (of type E_RECOVERABLE_ERROR).

参见


Closure
在线手册:中文  英文
易百教程