ReflectionClass::getEndLine

( excerpt from http://php.net/manual/en/reflectionclass.getendline.php )

public function getEndLine(): int;

Gets end line number from a user-defined class definition.

Returns

  • int - The ending line number of the user defined class, or FALSE if unknown.