ReflectionClass::getEndLine

(PHP 5, PHP 7)

ReflectionClass::getEndLineGets end line

Descrição

public ReflectionClass::getEndLine ( void ) : int

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

Parâmetros

Esta função não possui parâmetros.

Valor Retornado

The ending line number of the user defined class, or FALSE if unknown.

Exemplos

Exemplo #1 ReflectionClass::getEndLine() example

<?php
// Test Class
class TestClass { }

$rc = new ReflectionClass('TestClass');

echo 
$rc->getEndLine();
?>

O exemplo acima irá imprimir:

3

Veja Também