You are here

public function ErrorHandlerCanary::__destruct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/debug/ErrorHandler.php \Symfony\Component\Debug\ErrorHandlerCanary::__destruct()

File

vendor/symfony/debug/ErrorHandler.php, line 734

Class

ErrorHandlerCanary
Private class used to work around https://bugs.php.net/54275.

Namespace

Symfony\Component\Debug

Code

public function __destruct() {
  if (null !== self::$displayErrors) {
    ini_set('display_errors', self::$displayErrors);
    self::$displayErrors = null;
  }
}