ReflectionClass::getDocComment
ReflectionClass::getExtension
ReflectionClass
PHP Manual

# ReflectionClass::getEndLine

(PHP 5)

ReflectionClass::getEndLine — Gets 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.

### 例

例1 ReflectionClass::getEndLine example

`<?php
// Test Class
class TestClass { }
$rc = new ReflectionClass('TestClass');
echo $rc->getEndLine();
?>`

上の例の出力は以下となります。

    3

### 参考

- ReflectionClass::getStartLine - Gets starting line number

ReflectionClass::getDocComment
ReflectionClass::getExtension
ReflectionClass
PHP Manual