Search Results
ReflectionFunctionAbstract::getEndLine (PHP 5 >= 5.2.0, PHP 7, PHP 8) ReflectionFunctionAbstract::getEndLine — Gets end line number
Simple usage example of `ReflectionFunctionAbstract::getEndLine ()`. The `ReflectionFunctionAbstract::getEndLine ()` function is a method of the `ReflectionFunctionAbstract` class in PHP. It is used to retrieve the line number where the function definition ends in the source code.
Return Values The ending line number of the user defined function, or FALSE if unknown.
ReflectionFunctionAbstract::getStaticVariables — Gets static variables ReflectionFunctionAbstract::getTentativeReturnType — Returns the tentative return type associated with the function
English PHP documentation. Contribute to php/doc-en development by creating an account on GitHub.
Aug 15, 2013 · With reflection, it's easy to get the start and end line e.g. of a method in the source file: ReflectionFunctionAbstract::getFileName(), ReflectionFunctionAbstract::getStartLine(), ReflectionFunctionAbstract::getEndLine() provide this functionality.
Table of Contents ReflectionFunctionAbstract::__clone — Clones function ReflectionFunctionAbstract::getClosureScopeClass — Returns the scope associated to the closure ReflectionFunctionAbstract::getClosureThis — Returns this pointer bound to closure ReflectionFunctionAbstract::getDocComment — Gets doc comment ReflectionFunctionAbstract::getEndLine — Gets end line number ...
