Exception::getLineGets the line in which the exception occurred Description
final public int Exception::getLine
( void
)
Get line number where the exception was created. ParametersThis function has no parameters. Return ValuesReturns the line number where the exception was created. Examples
Example #1 Exception::getLine example
<?php The above example will output something similar to: The exception was created on line: 3 |