(PHP 5, PHP 7)
ReflectionClass::getEndLine — Gets end line
Gets end line number from a user-defined class definition.
Această funcție nu are parametri.
The ending line number of the user defined class, or false
if unknown.
Example #1 ReflectionClass::getEndLine() example
<?php
// Test Class
class TestClass { }
$rc = new ReflectionClass('TestClass');
echo $rc->getEndLine();
?>
Exemplul de mai sus va afișa:
3