array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'reflectiofunctionabstract.isstatic.php', 1 => 'ReflectionFunctionAbstract::isStatic', 2 => 'Checks if the function is static', ), 'up' => array ( 0 => 'class.reflectionfunctionabstract.php', 1 => 'ReflectionFunctionAbstract', ), 'prev' => array ( 0 => 'reflectionfunctionabstract.isinternal.php', 1 => 'ReflectionFunctionAbstract::isInternal', ), 'next' => array ( 0 => 'reflectionfunctionabstract.isuserdefined.php', 1 => 'ReflectionFunctionAbstract::isUserDefined', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/reflection/reflectionfunctionabstract/isstatic.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

ReflectionFunctionAbstract::isStatic

(PHP 5, PHP 7, PHP 8)

ReflectionFunctionAbstract::isStaticChecks if the function is static

Опис

public ReflectionFunctionAbstract::isStatic(): bool

Checks if the function is static.

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

true if the function is static, otherwise false

Журнал змін

Версія Опис
8.1.0 This method has been pulled up. Previously, it was only defined in ReflectionMethod.

Прогляньте також