php8.5
Home/ Manual/ reflection / reflectionfunctionabstract/ ReflectionFunctionAbstract::getName

ReflectionFunctionAbstract::getName

PHP function Edit on GitHub ✎

(PHP 5 >= 5.2.0, PHP 7, PHP 8)

Gets function name

Description

ReflectionFunctionAbstract::getName(): string

Get the name of the function.

Parameters Parameters

Return Values

The name of the function.

See Also

  • ReflectionFunctionAbstract::getExtensionName
  • ReflectionFunctionAbstract::isUserDefined

Source: reference/reflection/reflectionfunctionabstract/getname.xml · from the official PHP manual (php/doc-en)