Throwable::getLine
PHP Manual
PHP Manual»Throwable»Throwable::getLine

Throwable::getLine

(PHP 7, PHP 8)

Throwable::getLine获取初始化对象时候的行号

说明

public function Throwable::getLine(): int

返回初始化 throwable 时的行号。

参数

此函数没有参数。

返回值

返回初始化 throwable 时的行号。

参见

To Top