Search Results
ReflectionFunctionAbstract::getStartLine (PHP 5 >= 5.2.0, PHP 7, PHP 8) ReflectionFunctionAbstract::getStartLine — Gets starting line number
ReflectionFunctionAbstract::getParameters — Gets parameters ReflectionFunctionAbstract::getReturnType — Gets the specified return type of a function ReflectionFunctionAbstract::getShortName — Gets function short name ReflectionFunctionAbstract::getStartLine — Gets starting line number
ReflectionFunctionAbstract::getShortName — Gets function short name ReflectionFunctionAbstract::getStartLine — Gets starting line number ReflectionFunctionAbstract::getStaticVariables — Gets static variables ReflectionFunctionAbstract::getTentativeReturnType — Returns the tentative return type associated with the function
public ReflectionFunctionAbstract::getReturnType (): ? ReflectionType public ReflectionFunctionAbstract::getShortName (): string public ReflectionFunctionAbstract::getStartLine (): int|false public ReflectionFunctionAbstract::getStaticVariables (): array
Return Values The starting line number, or false if unknown.
Aug 15, 2013 · 5 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. However, this doesn't seem to work with properties.
publicarray ReflectionFunctionAbstract::getParameters ( void ) publicstring ReflectionFunctionAbstract::getShortName ( void ) publicint ReflectionFunctionAbstract::getStartLine ( void ) publicarray ReflectionFunctionAbstract::getStaticVariables ( void ) publicbool ReflectionFunctionAbstract::inNamespace ( void )
