Пример #1
0
 /**
  * Converts errors to ErrorException exceptions.
  */
 public static function handle_error($errno, $errstr, $errfile, $errline)
 {
     if ($errno === 8) {
         return;
     }
     Debugger::$is_error = true;
     throw new ErrorException($errstr, 0, $errno, $errfile, $errline);
 }