Please wait while we load your page...

Tools

PHP Manual [The ReflectionFunction class]

Protect Your Website Today


PHP Manual || Reflection

(PHP 5, PHP 7)

The ReflectionFunction class reports information about a function.

ReflectionFunction extends ReflectionFunctionAbstract implements Reflector {
/* Constants */
const integer IS_DEPRECATED = 262144 ;
/* Properties */
public name ;
/* Methods */
public __construct ( mixed $name )
public static export ( string $name [, string $return ] ) : string
public getClosure ( void ) : Closure
public invoke ([ mixed $... ] ) : mixed
public invokeArgs ( array $args ) : mixed
public isDisabled ( void ) : bool
public __toString ( void ) : string
/* Inherited methods */
final private ReflectionFunctionAbstract::__clone ( void ) : void
public ReflectionFunctionAbstract::getFileName ( void ) : string
public ReflectionFunctionAbstract::getName ( void ) : string
abstract public ReflectionFunctionAbstract::__toString ( void ) : void
}
name

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

ReflectionFunction::IS_DEPRECATED

Indicates deprecated functions.



PHP Manual || Reflection