PHP ManualException::getMessage(PHP 5 >= 5.1.0) Exception::getMessage — Gets the Exception message Description
final public string Exception::getMessage
( void
)
Returns the Exception message. ParametersThis function has no parameters. Return ValuesReturns the Exception message as a string. Examples
Example #1 Exception::getMessage() example
<?php The above example will output something similar to: Some error message
![]() |
PHP-Index
New Tutorial entries
|