ReflectionClass::getStaticProperties

(PHP 5, PHP 7, PHP 8)

ReflectionClass::getStaticPropertiesGets static properties

Description

publicReflectionClass::getStaticProperties(): array

Get the static properties.

Parameters

This function has no parameters.

Return Values

The static properties, as an array.

Changelog

VersionDescription
8.3.0 The return type of ReflectionClass::getStaticProperties() has been changed to array from ?array.

See Also

To Top