FYI, it returns the parameter name without the dollars($) sign at the start.
(PHP 5, PHP 7)
ReflectionParameter::getName — Gets parameter name
Gets the name of the parameter.
Ta funkcja nie posiada parametrów.
The name of the reflected parameter.