ReflectionClass
PHP Manual

ReflectionClass::getEndLine

(PHP 5)

ReflectionClass::getEndLineGets end line

Описание

public int ReflectionClass::getEndLine ( void )

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

Параметри

Тази функция няма параметри.

Връщани стойности

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();
?>

Примерът по-горе ще изведе:

3

Вж. също


ReflectionClass
PHP Manual