« ReflectionClass::getStartLine
ReflectionClass::getStaticPropertyValue »

ReflectionClass::getStaticProperties

(PHP 5, PHP 7, PHP 8)

ReflectionClass::getStaticProperties — staticプロパティを取得する

説明

public function ReflectionClass::getStaticProperties(): array

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

パラメータ

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

戻り値

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

変更履歴

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

参考

関連キーワード:
ReflectionClass   static   プロパティ   getStaticProperties   getStaticPropertyValue   getStartLine   履歴   参考   setStaticPropertyValue
関連する関数・ページ:
reflectionclass.getstaticpropertyvalue   reflectionclass.setstaticpropertyvalue   reflectionclass.getparentclass   reflectionclass.getstartline   reflectionclass.getdefaultproperties   reflectionclass.getproperty