We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents edfd55c + 9404411 commit 27e485dCopy full SHA for 27e485d
ext/dom/html_document.c
@@ -776,7 +776,7 @@ static bool dom_parse_decode_encode_finish(
776
777
static bool check_options_validity(uint32_t arg_num, zend_long options)
778
{
779
- const zend_long VALID_OPTIONS = XML_PARSE_NOERROR | XML_PARSE_COMPACT | HTML_PARSE_NOIMPLIED | DOM_HTML_NO_DEFAULT_NS;
+ const zend_long VALID_OPTIONS = HTML_PARSE_NOERROR | HTML_PARSE_COMPACT | HTML_PARSE_NOIMPLIED | DOM_HTML_NO_DEFAULT_NS;
780
if ((options & ~VALID_OPTIONS) != 0) {
781
zend_argument_value_error(arg_num, "contains invalid flags (allowed flags: "
782
"LIBXML_NOERROR, "
0 commit comments