original_string: public static function errorHandler($errno, $errstr, $errfile, $errline, $errcontext)
      {
          if (count(self::$interceptor_stack) > 0)
          {
              $interceptor = end(self::$interceptor_stack);
              if ($interceptor->intercept($errno, $errstr, $errfile, $errline, $errcontext))
              {
                  return;
              }
          }
  
          throw new ErrorException($errstr, 0, $errno, $errfile, $errline);
      }
code: public static function errorHandler($errno, $errstr, $errfile, $errline, $errcontext)
      {
          if (count(self::$interceptor_stack) > 0)
          {
              $interceptor = end(self::$interceptor_stack);
              if ($interceptor->intercept($errno, $errstr, $errfile, $errline, $errcontext))
              {
                  return;
              }
          }
  
          throw new ErrorException($errstr, 0, $errno, $errfile, $errline);
      }
code_tokens: public static function errorHandler ( $ errno , $ errstr , $ errfile , $ errline , $ errcontext ) { if ( count ( self :: $ interceptor_stack ) > 0 ) { $ interceptor = end ( self :: $ interceptor_stack ) ; if ( $ interceptor -> intercept ( $ errno , $ errstr , $ errfile , $ errline , $ errcontext ) ) { return ; } } throw new ErrorException ( $ errstr , 0 , $ errno , $ errfile , $ errline ) ; }
docstring: Catch all PHP errors, notices and throw them as an exception instead. If
  an interceptor was registered, the message is passed to the interceptor instead.
  
  @param int $errno Error number
  @param string $errstr Error description
  @param string $errfile The file where the error occured
  @param int $errline The line where the error occured
  @param mixed $errcontext Erro context
docstring_tokens: Catch all PHP errors notices and throw them as an exception instead . If an interceptor was registered the message is passed to the interceptor instead .