PHP Conference Nagoya 2025

Closure::__construct

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

Closure::__constructConstructor that disallows instantiation

Description

private Closure::__construct()

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.

Parameters

This function has no parameters.

add a note

User Contributed Notes

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