PHP Portal » PHP Handbuch » ReflectionClass::getEndLine

Werbung

ReflectionClass::getEndLine


(PHP 5)

ReflectionClass::getEndLineGets 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
// Test Class class TestClass { } $rc = new ReflectionClass('TestClass'); echo $rc->getEndLine();

Das oben gezeigte Beispiel erzeugt folgende Ausgabe:

3

Siehe auch