| Exception::__toStringString 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 
<?phpThe 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}
See Also
 
 |