PHP Class Prado\Exceptions\TPhpErrorException

TPhpErrorException represents an exception caused by a PHP error. This exception is mainly thrown within a PHP error handler.
Since: 3.0
Author: Qiang Xue ([email protected])
Inheritance: extends TSystemException
显示文件 Open project: pradosoft/prado Class Usage Examples

Public Methods

Method Description
__construct ( $errno, $errstr, $errfile, $errline ) Constructor.
isFatalError ( array $error ) : boolean Returns if error is one of fatal type.

Method Details

__construct() public method

Constructor.
public __construct ( $errno, $errstr, $errfile, $errline )

isFatalError() public static method

Returns if error is one of fatal type.
public static isFatalError ( array $error ) : boolean
$error array error got from error_get_last()
return boolean if error is one of fatal type