xref: /PHP-8.1/ext/dom/tests/bug74004.phpt (revision bd9f4fa6)
1--TEST--
2Bug #74004 (DOMDocument->loadHTML and ->loadHTMLFile do not heed LIBXML_NOWARNING and LIBXML_NOERROR options)
3--EXTENSIONS--
4dom
5--FILE--
6<?php
7
8$doc=new DOMDocument();
9$doc->loadHTML("<tag-throw></tag-throw>",LIBXML_NOERROR);
10
11?>
12===DONE===
13--EXPECT--
14===DONE===
15