php / 8.1.5 / reflectionparameter.getname.html /

ReflectionParameter::getName

(PHP 5, PHP 7, PHP 8)

ReflectionParameter::getNameGets parameter name

Description

public ReflectionParameter::getName(): string

Gets the name of the parameter.

Parameters

This function has no parameters.

Return Values

The name of the reflected parameter.

See Also

  • ReflectionParameter::getValue()

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/reflectionparameter.getname.php