(PHP 5, PHP 7, PHP 8)
The ReflectionParameter class retrieves information about function's or method's parameters.
To introspect function parameters, first create an instance of the ReflectionFunction or ReflectionMethod classes and then use their ReflectionFunctionAbstract::getParameters() method to retrieve an array of parameters.
since: '8.0',message: "use ReflectionParameter::getType() instead",since: '8.0',message: "use ReflectionParameter::getType() instead",since: '8.0',message: "use ReflectionParameter::getType() instead",Name of the parameter. Read-only, throws ReflectionException in attempt to write.
| Version | Description |
|---|---|
| 8.0.0 | ReflectionParameter::export() was removed. |