Please wait while we load your page...
 

Announcements

PHP Manual :: The ReflectionFunction class



ReflectionExtension::__toString || ReflectionFunction::__construct || Reflection || PHP Manual

(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 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 )
/* Inherited methods */
final private void ReflectionFunctionAbstract::__clone ( void )
public ReflectionClass ReflectionFunctionAbstract::getClosureScopeClass ( void )
public ReflectionExtension ReflectionFunctionAbstract::getExtension ( void )
public string ReflectionFunctionAbstract::getName ( void )
public ReflectionType ReflectionFunctionAbstract::getReturnType ( void )
abstract public void ReflectionFunctionAbstract::__toString ( void )
}
name

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

ReflectionFunction::IS_DEPRECATED

Indicates deprecated functions.



ReflectionExtension::__toString || ReflectionFunction::__construct || Reflection || PHP Manual
Live Chat Not Available