ErrorException::getSeverityGets the exception severity Description
final public int ErrorException::getSeverity
( void
)
Returns the severity of the exception. ParametersThis function has no parameters. Return ValuesReturns the severity level of the exception. Examples
Example #1 ErrorException::getSeverity example
<?php The above example will output something similar to: This exception severity is: 256 bool(true) |