ReflectionClass::getStaticProperties

(PHP 5, PHP 7, PHP 8)

ReflectionClass::getStaticPropertiesGets static properties

Description

public ReflectionClass::getStaticProperties(): array

Get the static properties.

Parameters

This function has no parameters.

Return Values

The static properties, as an array.

Changelog

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

See Also