Throwable::getLine
PHP function
Edit on GitHub ✎
(PHP 7, PHP 8)
Gets the line on which the object was instantiated
Description
Throwable::getLine(): int
Returns the line number where the thrown object was instantiated.
Parameters Parameters
Return Values
Returns the line number where the thrown object was instantiated.
See Also
Exception::getLine