Reflection
PHP Manual

The ReflectionFunction class

(PHP 5)

Introducere

The ReflectionFunction class reports information about a function.

Sinopsisul clasei

ReflectionFunction extends ReflectionFunctionAbstract implements Reflector {
/* Constante */
const integer IS_DEPRECATED = 262144 ;
/* Proprietăți */
public $name ;
/* Metode */
public __construct ( mixed $name )
public static string export ( string $name [, string $return ] )
public Closure getClosure ( void )
public mixed invoke ([ mixed $parameter [, mixed $... ]] )
public mixed invokeArgs ( array $args )
public bool isDisabled ( void )
public string __toString ( void )
/* Metode moștenite */
final private void ReflectionFunctionAbstract::__clone ( void )
public ReflectionExtension ReflectionFunctionAbstract::getExtension ( void )
public string ReflectionFunctionAbstract::getName ( void )
abstract public void ReflectionFunctionAbstract::__toString ( void )
}

Proprietăți

name

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

Constante predefinite

ReflectionFunction Modifiers

ReflectionFunction::IS_DEPRECATED

Indicates deprecated functions.

Cuprins


Reflection
PHP Manual