A modern, accurate HTML parser and serializer for PHP
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
713 B

<?php
/** @license MIT
* Copyright 2017 , Dustin Wilson, J. King et al.
* See LICENSE and AUTHORS files for details */
declare(strict_types=1);
namespace MensBeam\HTML\Parser;
class Output {
/** @var \DOMDocument The parsed document */
public $document;
/** @var string The document's original encoding, as supplied by the user or detected during parsing */
public $encoding;
/** @var int The "quirks mode" property of the document, one of Parser::NO_QUIRKS_MODE, Parser::LIMITED_QUIRKS_MODE, or Parser::QUIRKS_MODE */
public $quirksMode;
/** @var array|null The list of parse errors emitted during processing if parse error reporting was turned on */
public $errors = null;
}