1--TEST--
2Test DOMDocument::loadHTMLFile when an empty document is loaded
3--DESCRIPTION--
4Verifies that an warning message is showed if an empty document is loaded
5--CREDITS--
6Antonio Diaz Ruiz <dejalatele@gmail.com>
7--EXTENSIONS--
8dom
9--FILE--
10<?php
11$doc = new DOMDocument();
12$result = $doc->loadHTMLFile(__DIR__ . "/empty.html");
13assert($result === true);
14?>
15--EXPECTF--
16%r(PHP ){0,1}%rWarning: DOMDocument::loadHTMLFile(): Document is empty %s
17