Gets static properties

# ReflectionClass::getStaticProperties

(PHP 5, PHP 7, PHP 8)

ReflectionClass::getStaticProperties — Gets 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

- ReflectionClass::getStaticPropertyValue() - Gets static property value
- ReflectionClass::setStaticPropertyValue() - Sets public static property value

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open