Throwable::getLine

(PHP 7, PHP 8)

Throwable::getLine獲取初始化對象時候的行號

說明

public Throwable::getLine(): int

返回初始化 throwable 時的行號。

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

返回初始化 throwable 時的行號。

參見