downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

ReflectionClass::getExtension> <ReflectionClass::getDocComment
[edit] Last updated: Fri, 25 May 2012

view this page in

ReflectionClass::getEndLine

(PHP 5)

ReflectionClass::getEndLine終了行を取得する

説明

public int ReflectionClass::getEndLine ( void )

ユーザー定義クラスの定義の終了行を取得します。

パラメータ

この関数にはパラメータはありません。

返り値

ユーザー定義クラスの定義の終了行を返します。不明な場合は FALSE を返します。

例1 ReflectionClass::getEndLine() の例

<?php
// テストクラス
class TestClass { }

$rc = new ReflectionClass('TestClass');

echo 
$rc->getEndLine();
?>

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

3

参考



add a note add a note User Contributed Notes ReflectionClass::getEndLine
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites