The ReflectionFunction class

(PHP 5, PHP 7, PHP 8)

Einführung

The ReflectionFunction class reports information about a function.

Klassenbeschreibung

classReflectionFunctionextendsReflectionFunctionAbstract {
publicconstintIS_DEPRECATED;
public__construct(Closure|string$function)
publicstaticexport(string$name, string$return = ?): string
publicinvoke(mixed...$args): mixed
publicinvokeArgs(array$args): mixed
publicisAnonymous(): bool
publicisDisabled(): bool
}

Vordefinierte Konstanten

ReflectionFunction Modifiers

ReflectionFunction::IS_DEPRECATED

Indicates deprecated functions.

Changelog

VersionBeschreibung
8.0.0ReflectionFunction::export() was removed.

Inhaltsverzeichnis

To Top