PHP
反射 | Reflection

ReflectionMethod::isStatic

ReflectionMethod::isStatic

(PHP 5, PHP 7)

ReflectionMethod::isStatic — Checks if method is static

Description

public bool ReflectionMethod::isStatic ( void )

Checks if the method is static.

Parameters

This function has no parameters.

Return Values

TRUE if the method is static, otherwise FALSE

See Also

  • ReflectionMethod::isFinal() - Checks if method is final

← ReflectionMethod::isPublic

ReflectionMethod::setAccessible →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/reflectionmethod.isstatic.php