PHP » GoLang |
login |
register |
about
|
GoLang Exception::__toString
request it (389)
GoLang replacement for PHP's Exception::__toString
[edit | history]
Exception::__toString(PHP 5, PHP 7) 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
|