PHP 8.3.4 Released!

ReflectionParameter::getName

(PHP 5, PHP 7, PHP 8)

ReflectionParameter::getNameパラメータ名を取得する

説明

public ReflectionParameter::getName(): string

パラメータ名を取得します。

パラメータ

この関数にはパラメータはありません。

戻り値

パラメータ名を返します。

参考

  • ReflectionParameter::getValue()

add a note

User Contributed Notes 1 note

up
24
mike
8 years ago
FYI, it returns the parameter name without the dollars($) sign at the start.
To Top