ReflectionClass::getStaticPropertyValue

( excerpt from http://php.net/manual/en/reflectionclass.getstaticpropertyvalue.php )

public function getStaticPropertyValue(
  string $name,
  mixed ...$def_value = NULL,
): mixed;

Gets the value of a static property on this class.

Parameters

  • string $name
  • mixed ...$def_value = NULL

Returns

  • mixed - The value of the static property.