ReflectionFunctionAbstract::isStatic

(PHP 5, PHP 7, PHP 8)

ReflectionFunctionAbstract::isStaticChecks if the function is static

Description

public ReflectionFunctionAbstract::isStatic(): bool

Checks if the function is static.

Parameters

This function has no 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