Documentación offline PHP master

ReflectionMethod::isDestructor

master Ver versión oficial en línea Licencia CC-BY-3.0Descargado el 2026-08-02

En esta página

ReflectionMethod::isDestructor

Verifica si el método es un destructor

Descripción#

php public ReflectionMethod::isDestructor(): boolphp

Verifica si el método es un destructor.

Parámetros#

Esta función no contiene ningún parámetro.

Valores devueltos#

true si el método es un destructor, false en caso contrario.

Véase también#

ReflectionMethod::isConstructor