(PHP 5, PHP 7, PHP 8)
ReflectionParameter::getName — Gets parameter name
Gets the name of the parameter.
This function has no parameters.
The name of the reflected parameter.
FYI, it returns the parameter name without the dollars($) sign at the start.