Reflection
PHP Manual

The ReflectionFunction class

Introduction

The ReflectionFunction class reports information about a function.

Parent class ReflectionFunctionAbstract has the same methods except invoke(), invokeArgs(), export() and isDisabled().

Class synopsis

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

Properties

name

Prop description

Predefined Constants

ReflectionFunction Node Types

ReflectionFunction::IS_DEPRECATED

Description here...

Table of Contents


Reflection
PHP Manual