Reflection
PHP Manual

The ReflectionFunction class

(PHP 5)

Introduction

The ReflectionFunction class reports information about a function.

Class synopsis

ReflectionFunction extends ReflectionFunctionAbstract implements Reflector {
/* Constants */
const integer IS_DEPRECATED = 262144 ;
/* Properties */
/* Methods */
public static string ReflectionFunction::export ( string $name [, string $return ] )
public Closure ReflectionFunction::getClosure ( void )
public mixed ReflectionFunction::invoke ([ mixed $parameter [, mixed $... ]] )
public mixed ReflectionFunction::invokeArgs ( array $args )
public bool ReflectionFunction::isDisabled ( void )
public string ReflectionFunction::__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

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

Predefined Constants

ReflectionFunction Modifiers

ReflectionFunction::IS_DEPRECATED

Indicates deprecated functions.

Table of Contents


Reflection
PHP Manual