PHP Doku:: Gets end line - reflectionclass.getendline.html

Verlauf / Chronik / History: (1) anzeigen

Sie sind hier:
Doku-Startseite ≥ PHP-Handbuch ≥ Funktionsreferenz ≥ Variablen- und typbezogene Erweiterungen ≥ Reflection ≥ The ReflectionClass class ≥ ReflectionClass::getEndLine

Ein Service von Reinhard Neidl - Webprogrammierung.

The ReflectionClass class

<<ReflectionClass::getDocComment

ReflectionClass::getExtension>>

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

Beispiel #1 ReflectionClass::getEndLine() example

<?php
// Test Class
class TestClass { }

$rc = new ReflectionClass('TestClass');

echo 
$rc->getEndLine();
?>

Das oben gezeigte Beispiel erzeugt folgende Ausgabe:

3

Siehe auch


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)