php8.5
Home/ Manual/ reflection / reflectionproperty/ ReflectionProperty::isStatic

ReflectionProperty::isStatic

PHP function Edit on GitHub ✎

(PHP 5, PHP 7, PHP 8)

Checks if property is static

Description

ReflectionProperty::isStatic(): bool

Checks whether the property is static.

Parameters Parameters

Return Values

true if the property is static, false otherwise.

See Also

  • ReflectionProperty::isPublic
  • ReflectionProperty::isProtected
  • ReflectionProperty::isPrivate
  • ReflectionProperty::isReadOnly

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