예제 #1
0
 public function test_convert_errors_to_exceptions()
 {
     $handler = new ErrorHandler(true);
     $this->assertTrue($handler->isConvertingErrorsToExceptions());
     $handler->convertErrorsToExceptions(false);
     $this->assertFalse($handler->isConvertingErrorsToExceptions());
 }