Skip to content

Commit 27e485d

Browse files
committed
Merge branch 'PHP-8.4'
2 parents edfd55c + 9404411 commit 27e485d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/dom/html_document.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -776,7 +776,7 @@ static bool dom_parse_decode_encode_finish(
776776

777777
static bool check_options_validity(uint32_t arg_num, zend_long options)
778778
{
779-
const zend_long VALID_OPTIONS = XML_PARSE_NOERROR | XML_PARSE_COMPACT | HTML_PARSE_NOIMPLIED | DOM_HTML_NO_DEFAULT_NS;
779+
const zend_long VALID_OPTIONS = HTML_PARSE_NOERROR | HTML_PARSE_COMPACT | HTML_PARSE_NOIMPLIED | DOM_HTML_NO_DEFAULT_NS;
780780
if ((options & ~VALID_OPTIONS) != 0) {
781781
zend_argument_value_error(arg_num, "contains invalid flags (allowed flags: "
782782
"LIBXML_NOERROR, "

0 commit comments

Comments
 (0)