23 $errHandler->registerErrorHandler(
array(E_USER_NOTICE => Logger::EMERGENCY),
false);
24 trigger_error(
'Foo', E_USER_ERROR);
25 $this->assertCount(1, $handler->getRecords());
26 $this->assertTrue($handler->hasErrorRecords());
27 trigger_error(
'Foo', E_USER_NOTICE);
28 $this->assertCount(2, $handler->getRecords());
29 $this->assertTrue($handler->hasEmergencyRecords());
Create styles array
The data for the language used.
Used for testing purposes.