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::isConstructorReflectionMethod::isFinal>
^ReflectionMethodLast updated: Mon, 26 Oct 2026

ReflectionMethod::isDestructor

(PHP 5, PHP 7, PHP 8)

ReflectionMethod::isDestructor — Checks if method is a destructor

Description

public function ReflectionMethod::isDestructor(): bool

Checks if the method is a destructor.

Parameters

This function has no parameters.

Return Values

true if the method is a destructor, otherwise false

See Also


<ReflectionMethod::isConstructorReflectionMethod::isFinal>
^ReflectionMethodLast updated: Mon, 26 Oct 2026