(PHP 5, PHP 7, PHP 8)
ReflectionClass::getEndLine — 取得結束行數
此函式沒有參數。
使用者定義類別的結束行數,如果未知則為 false
。
範例 #1 ReflectionClass::getEndLine() 範例
<?php
// 測試類別
class TestClass { }
$rc = new ReflectionClass('TestClass');
echo $rc->getEndLine();
?>
上述範例將輸出
3