Exception::getLineGets the line in which the exception was created 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 See Also
|