php8.5
Home/ Manual/ reflection / reflectionfunctionabstract/ ReflectionFunctionAbstract::isStatic

ReflectionFunctionAbstract::isStatic

PHP function Edit on GitHub ✎

(PHP 5, PHP 7, PHP 8)

Checks if the function is static

Description

ReflectionFunctionAbstract::isStatic(): bool

Checks if the function is static.

Parameters Parameters

Return Values

true if the function is static, otherwise false

Changelog

VersionDescription
8.1.0This method has been pulled up. Previously, it was only defined in ReflectionMethod.

See Also

  • ReflectionMethod::isFinal

Source: reference/reflection/reflectionfunctionabstract/isstatic.xml · from the official PHP manual (php/doc-en)