Gets parameter name

# ReflectionParameter::getName

(PHP 5, PHP 7, PHP 8)

ReflectionParameter::getName — Gets 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()

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open