(PHP 5, PHP 7, PHP 8)
ReflectionMethod::isConstructor — Checks if method is a constructor
Checks if the method is a constructor.
This function has no parameters.
true if the method is a constructor, otherwise false
true
false