ReflectionClass::getEndLine

(PHP 5, PHP 7)

ReflectionClass::getEndLineGets end line

Opis

public ReflectionClass::getEndLine ( void ) : int

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

Parametry

Ta funkcja nie posiada parametrów.

Zwracane wartości

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

Przykłady

Przykład #1 ReflectionClass::getEndLine() example

<?php
// Test Class
class TestClass { }

$rc = new ReflectionClass('TestClass');

echo 
$rc->getEndLine();
?>

Powyższy przykład wyświetli:

3

Zobacz też:

add a note add a note

User Contributed Notes

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