xref: /PHP-7.2/ext/dom/tests/bug74004.phpt (revision fab5ce34)
1--TEST--
2Bug #74004 (DOMDocument->loadHTML and ->loadHTMLFile do not heed LIBXML_NOWARNING and LIBXML_NOERROR options)
3--SKIPIF--
4<?php require_once('skipif.inc'); ?>
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