original_string: private function reRegister($prev)
      {
          if ($prev !== $this->thrownErrors | $this->loggedErrors) {
              $handler = set_error_handler('var_dump');
              $handler = \is_array($handler) ? $handler[0] : null;
              restore_error_handler();
              if ($handler === $this) {
                  restore_error_handler();
                  if ($this->isRoot) {
                      set_error_handler([$this, 'handleError'], $this->thrownErrors | $this->loggedErrors);
                  } else {
                      set_error_handler([$this, 'handleError']);
                  }
              }
          }
      }
code: private function reRegister($prev)
      {
          if ($prev !== $this->thrownErrors | $this->loggedErrors) {
              $handler = set_error_handler('var_dump');
              $handler = \is_array($handler) ? $handler[0] : null;
              restore_error_handler();
              if ($handler === $this) {
                  restore_error_handler();
                  if ($this->isRoot) {
                      set_error_handler([$this, 'handleError'], $this->thrownErrors | $this->loggedErrors);
                  } else {
                      set_error_handler([$this, 'handleError']);
                  }
              }
          }
      }
code_tokens: private function reRegister ( $ prev ) { if ( $ prev !== $ this -> thrownErrors | $ this -> loggedErrors ) { $ handler = set_error_handler ( 'var_dump' ) ; $ handler = \ is_array ( $ handler ) ? $ handler [ 0 ] : null ; restore_error_handler ( ) ; if ( $ handler === $ this ) { restore_error_handler ( ) ; if ( $ this -> isRoot ) { set_error_handler ( [ $ this , 'handleError' ] , $ this -> thrownErrors | $ this -> loggedErrors ) ; } else { set_error_handler ( [ $ this , 'handleError' ] ) ; } } } }
docstring: Re-registers as a PHP error handler if levels changed.
docstring_tokens: Re - registers as a PHP error handler if levels changed .