ReflectionClass::getEndLine

(PHP 5, PHP 7)

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

참고

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top