The ReflectionFunction class

(PHP 5, PHP 7)

Einführung

The ReflectionFunction class reports information about a function.

Klassenbeschreibung

ReflectionFunction extends ReflectionFunctionAbstract implements Reflector {
/* Konstanten */
const int IS_DEPRECATED = 262144 ;
/* Eigenschaften */
public $name ;
/* Methoden */
public __construct ( mixed $name )
public static export ( string $name [, string $return ] ) : string
public getClosure ( ) : Closure
public invoke ( mixed ...$args ) : mixed
public invokeArgs ( array $args ) : mixed
public isDisabled ( ) : bool
public __toString ( ) : string
/* Geerbte Methoden */
final private ReflectionFunctionAbstract::__clone ( ) : void
abstract public ReflectionFunctionAbstract::__toString ( ) : void
}

Eigenschaften

name

Name of the function. Read-only, throws ReflectionException in attempt to write.

Vordefinierte Konstanten

ReflectionFunction Modifiers

ReflectionFunction::IS_DEPRECATED

Indicates deprecated functions.

Inhaltsverzeichnis