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

ReflectionFunctionAbstract::getStartLine

PHP function Edit on GitHub ✎

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

Gets starting line number

Description

ReflectionFunctionAbstract::getStartLine(): int|false

Gets the starting line number of the function.

Parameters Parameters

Return Values

The starting line number, or false if unknown.

See Also

  • ReflectionFunctionAbstract::getEndLine

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