FYI, it returns the parameter name without the dollars($) sign at the start.
(PHP 5, PHP 7, PHP 8)
ReflectionParameter::getName — Değiştirgenin ismini döndürür
Değiştirgenin ismini döndürür.
Bu işlevin değiştirgesi yoktur.
Yansıtılan değiştirgenin ismi.