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
 
<ReflectionMethod::isAbstractReflectionMethod::isDestructor>
^ReflectionMethodLast updated: Mon, 26 Oct 2026

ReflectionMethod::isConstructor

(PHP 5, PHP 7, PHP 8)

ReflectionMethod::isConstructor — Checks if method is a constructor

Description

public function ReflectionMethod::isConstructor(): bool

Checks if the method is a constructor.

Parameters

This function has no parameters.

Return Values

true if the method is a constructor, otherwise false

See Also


<ReflectionMethod::isAbstractReflectionMethod::isDestructor>
^ReflectionMethodLast updated: Mon, 26 Oct 2026