PHP » PYTHON |
login |
register |
about
|
Exception::__toString(PHP 5 >= 5.1.0) Exception::__toString — String representation of the exception Description
public string Exception::__toString
( void
)
Returns the string representation of the exception. ParametersThis function has no parameters. Return ValuesReturns the string representation of the exception. Examples
Example #1 Exception::__toString() example
<?php The above example will output something similar to: exception 'Exception' with message 'Some error message' in /home/bjori/tmp/ex.php:3 Stack trace: #0 {main}
|
more
Recently updated
more
Most requested
more
Last requests
|