(PHP 5, PHP 7, PHP 8)
ReflectionClass::getStaticProperties — Gets static properties
public ReflectionClass::getStaticProperties(): array
Get the static properties.
This function has no parameters.
The static properties, as an array.
| Version | Description |
|---|---|
| 8.3.0 | The return type of ReflectionClass::getStaticProperties() has been changed to array from ?array. |
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/reflectionclass.getstaticproperties.php