function RequestSanitizerTest::errorHandler
Catches and logs errors to $this->errors.
Parameters
int $errno: The severity level of the error.
string $errstr: The error message.
File
- 
              core/
tests/ Drupal/ Tests/ Core/ Security/ RequestSanitizerTest.php, line 349  
Class
- RequestSanitizerTest
 - Tests RequestSanitizer class.
 
Namespace
Drupal\Tests\Core\SecurityCode
public function errorHandler($errno, $errstr) {
  $this->errors[] = compact('errno', 'errstr');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.