Go to the source code of this file.
Namespaces | |
namespace | SimpleTest |
Classes | |
class | SimpleErrorTrappingInvoker |
class | SimpleErrorQueue |
Functions | |
SimpleTestErrorHandler ($severity, $message, $filename=null, $line=null, $super_globals=null, $mask=null) |
SimpleTestErrorHandler | ( | $ | severity, | |
$ | message, | |||
$ | filename = null , |
|||
$ | line = null , |
|||
$ | super_globals = null , |
|||
$ | mask = null | |||
) | [static] |
Error handler that simply stashes any errors into the global error queue. Simulates the existing behaviour with respect to logging errors, but this feature may be removed in future.
$severity | PHP error code. | |
$message | Text of error. | |
$filename | File error occoured in. | |
$line | Line number of error. | |
$super_globals | Hash of PHP super global arrays. |
Definition at line 224 of file errors.php.
References SimpleTest::getContext(), and SimpleErrorQueue::getSeverityAsString().