ReflectionClass::getStaticProperties

(PHP 5, PHP 7, PHP 8)

ReflectionClass::getStaticProperties获取静态(static)属性

说明

public ReflectionClass::getStaticProperties(): ?array

获取静态(static)属性。

参数

此函数没有参数。

返回值

静态(static)的属性,类型是 array,失败时为 null

参见