Reflection
PHP Manual

The ReflectionFunction class

(PHP 5)

Introduzione

The ReflectionFunction class reports information about a function.

Sommario dellla classe

ReflectionFunction extends ReflectionFunctionAbstract implements Reflector {
/* Costanti */
const integer IS_DEPRECATED = 262144 ;
/* Proprietà */
public $name ;
/* Metodi */
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 )
/* Metodi ereditati */
final private void ReflectionFunctionAbstract::__clone ( void )
public ReflectionClass ReflectionFunctionAbstract::getClosureScopeClass ( void )
public ReflectionExtension ReflectionFunctionAbstract::getExtension ( void )
public string ReflectionFunctionAbstract::getName ( void )
abstract public void ReflectionFunctionAbstract::__toString ( void )
}

Proprietà

name

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

Costanti predefinite

ReflectionFunction Modifiers

ReflectionFunction::IS_DEPRECATED

Indicates deprecated functions.

Indice dei contenuti


Reflection
PHP Manual