PHPUnit_Util_ErrorHandler
class PHPUnit_Util_ErrorHandler (View source)
Error handler that converts PHP errors and warnings to exceptions.
Properties
static protected | $errorStack |
Methods
static array
getErrorStack()
Returns the error stack.
static
handleError(int $errno, string $errstr, string $errfile, int $errline)
No description
static
handleErrorOnce(int $severity = E_WARNING)
Registers an error handler and returns a function that will restore the previous handler when invoked
Details
at line 31
static array
getErrorStack()
Returns the error stack.
at line 44
static
handleError(int $errno, string $errstr, string $errfile, int $errline)
at line 94
static
handleErrorOnce(int $severity = E_WARNING)
Registers an error handler and returns a function that will restore the previous handler when invoked