original_string: protected function intercept($errno, $errstr, $errfile, $errline, $errcontext)
      {
          foreach ($this->expected as $warning)
          {
              if ($errno & $warning[0] && strpos($errstr, $warning[1]) !== false)
              {
                  $this->intercepted[] = new \ErrorException($errstr, 0, $errno, $errfile, $errline);
                  return true;
              }
          }
          return false;
      }
code: protected function intercept($errno, $errstr, $errfile, $errline, $errcontext)
      {
          foreach ($this->expected as $warning)
          {
              if ($errno & $warning[0] && strpos($errstr, $warning[1]) !== false)
              {
                  $this->intercepted[] = new \ErrorException($errstr, 0, $errno, $errfile, $errline);
                  return true;
              }
          }
          return false;
      }
code_tokens: protected function intercept ( $ errno , $ errstr , $ errfile , $ errline , $ errcontext ) { foreach ( $ this -> expected as $ warning ) { if ( $ errno & $ warning [ 0 ] && strpos ( $ errstr , $ warning [ 1 ] ) !== false ) { $ this -> intercepted [ ] = new \ ErrorException ( $ errstr , 0 , $ errno , $ errfile , $ errline ) ; return true ; } } return false ; }
docstring: Check if the produced error should be intercepted by the interceptor, based on the
  defined expected errors.
  
  @param int $errno Error type
  @param string $errstr The error string
  @param string $errfile The file the error occured in
  @param int $errline The line the error occured on
  @param array $errcontext Local variables
  @return bool True if the message was intercepted, false if not
docstring_tokens: Check if the produced error should be intercepted by the interceptor based on the defined expected errors .