Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<ClosureClosure::bind>
^ClosureLast updated: Mon, 26 Oct 2026

Closure::__construct

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

Closure::__construct — Constructor that disallows instantiation

Description

private function 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.


<ClosureClosure::bind>
^ClosureLast updated: Mon, 26 Oct 2026