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

ReflectionFunctionAbstract::getShortName

PHP function Edit on GitHub ✎

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

Gets function short name

Description

ReflectionFunctionAbstract::getShortName(): string

Get the short name of the function (without the namespace part).

Parameters Parameters

Return Values

The short name of the function.

See Also

  • ReflectionFunctionAbstract::getNamespaceName
  • namespaces

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