PHP 8.4.2 Released!

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

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

See Also

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top