1--TEST--
2Test DOMDocument::loadXML() with empty file path
3--EXTENSIONS--
4dom
5--FILE--
6<?php
7// create dom document
8$dom = new DOMDocument();
9try {
10    $dom->loadXML("");
11} catch (ValueError $exception) {
12    echo $exception->getMessage() . "\n";
13}
14?>
15--EXPECT--
16DOMDocument::loadXML(): Argument #1 ($source) must not be empty
17