php / 8.1.5 / reflectionfunctionabstract.getstartline.html /

ReflectionFunctionAbstract::getStartLine

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

ReflectionFunctionAbstract::getStartLineGets starting line number

Description

public ReflectionFunctionAbstract::getStartLine(): int|false

Gets the starting line number of the function.

Parameters

This function has no parameters.

Return Values

The starting line number, or false if unknown.

See Also

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/reflectionfunctionabstract.getstartline.php