PHP » PYTHON |
login |
register |
about
|
Exception::getLine(PHP 5 >= 5.1.0) Exception::getLine — Gets the line in which the exception occurred Description
final public int Exception::getLine
( void
)
Returns line number where the exception was thrown. ParametersThis function has no parameters. Return ValuesReturns the line number where the exception was thrown. Examples
Example #1 Exception::getLine() example
<?php The above example will output something similar to: The exception was thrown on line: 3
|
more
Recently updated
more
Most requested
more
Last requests
|