The ReflectionFunction class
(PHP 5, PHP 7, PHP 8)
Introduction
The ReflectionFunction class reports information about a function.
Class synopsis
Predefined Constants
ReflectionFunction Modifiers
ReflectionFunction::IS_DEPRECATED
-
Indicates deprecated functions.
Table of Contents
- ReflectionFunction::__construct — Constructs a ReflectionFunction object
- ReflectionFunction::export — Exports function
- ReflectionFunction::getClosure — Returns a dynamically created closure for the function
- ReflectionFunction::invoke — Invokes function
- ReflectionFunction::invokeArgs — Invokes function args
- ReflectionFunction::isDisabled — Checks if function is disabled
- ReflectionFunction::__toString — To string