(PHP 5, PHP 7, PHP 8)
The ReflectionExtension class reports information about an extension.
private __clone(): void
public static export(string $name, string $return = false): string
public getClasses(): array
public getClassNames(): array
public getConstants(): array
public getDependencies(): array
public getFunctions(): array
public getINIEntries(): array
public getName(): string
public getVersion(): ?string
public info(): void
public isPersistent(): bool
public isTemporary(): bool
public __toString(): string}
Name of the extension, same as calling the ReflectionExtension::getName() method.
| Version | Description |
|---|---|
| 8.0.0 | ReflectionExtension::export() was removed. |
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/class.reflectionextension.php