(PHP 5, PHP 7, PHP 8)
The ReflectionClass class reports information about a class.
Name of the class. Read-only, throws ReflectionException in attempt to write.
ReflectionClass::IS_IMPLICIT_ABSTRACT intIndicates the class is abstract because it has some abstract methods.
ReflectionClass::IS_EXPLICIT_ABSTRACT intIndicates the class is abstract because of its definition.
ReflectionClass::IS_FINAL intIndicates the class is final.
ReflectionClass::IS_READONLY intIndicates the class is readonly.
ReflectionClass::SKIP_INITIALIZATION_ON_SERIALIZE intReflectionClass::SKIP_DESTRUCTOR int| Version | Description |
|---|---|
| 8.4.0 | The class constants are now typed. |
| 8.0.0 | ReflectionClass::export() was removed. |