Werbung
ReflectionClass::getEndLine
(PHP 5)
ReflectionClass::getEndLine — Gets end line
Beschreibung
public int ReflectionClass::getEndLine
( void
)
Gets end line number from a user-defined class definition.
Parameter-Liste
Diese Funktion hat keine Parameter.
Rückgabewerte
The ending line number of the user defined class, or FALSE if unknown.
Beispiele
PHP Code
1
2
3
4
5
2
3
4
5
// Test Class
class TestClass { }
$rc = new ReflectionClass('TestClass');
echo $rc->getEndLine();
Das oben gezeigte Beispiel erzeugt folgende Ausgabe:
3