ReflectionClass::getStaticProperties

(PHP 5, PHP 7, PHP 8)

ReflectionClass::getStaticPropertiesstaticプロパティを取得する

説明

publicReflectionClass::getStaticProperties(): array

staticプロパティを取得します。

パラメータ

この関数にはパラメータはありません。

戻り値

staticプロパティを配列で返します。

変更履歴

バージョン説明
8.3.0ReflectionClass::getStaticProperties() の戻り値の型が、?array から array に変更されました。

参考

To Top